Cspeisman / elixir-set

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MySet

Implementation of a set module driven out by tests

  • A set can contain any kind of elements
  • elements in a set don't have to be of the same type
  • sets can't contain duplicate elements
    • when inserting an element in a set where it's already present, the insertion is simply a no-op.

Installation

If available in Hex, the package can be installed by adding kv to your list of dependencies in mix.exs:

def deps do
  [
    {:kv, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/kv.

About


Languages

Language:Elixir 100.0%