W3cubDocs

/Elixir 1.7

Set

This module is deprecated. Use MapSet instead.

Generic API for sets.

This module is deprecated, use the MapSet module instead.

Summary

Types

t()
value()
values()

Functions

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

Types

t()

t() :: map()

value()

value() :: any()

values()

values() :: [value()]

Functions

delete(set, value)

This function is deprecated. Use the MapSet module for working with sets.

difference(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

disjoint?(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

empty(set)

This function is deprecated. Use the MapSet module for working with sets.

equal?(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

intersection(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

member?(set, value)

This function is deprecated. Use the MapSet module for working with sets.

put(set, value)

This function is deprecated. Use the MapSet module for working with sets.

size(set)

This function is deprecated. Use the MapSet module for working with sets.

subset?(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

to_list(set)

This function is deprecated. Use the MapSet module for working with sets.

union(set1, set2)

This function is deprecated. Use the MapSet module for working with sets.

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