W3cubDocs

/Elixir 1.6

Set

WARNING: this module is deprecated.

Use the MapSet module instead.

Summary

Types

t()
value()
values()

Functions

delete(set, value)
difference(set1, set2)
disjoint?(set1, set2)
equal?(set1, set2)
intersection(set1, set2)
member?(set, value)
put(set, value)
size(set)
subset?(set1, set2)
to_list(set)
union(set1, set2)

Types

t()

t() :: map()

value()

value() :: any()

values()

values() :: [value()]

Functions

delete(set, value)

difference(set1, set2)

disjoint?(set1, set2)

equal?(set1, set2)

intersection(set1, set2)

member?(set, value)

put(set, value)

size(set)

subset?(set1, set2)

to_list(set)

union(set1, set2)

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.6.0/Set.html