View Source Set (Elixir v1.18.0-dev)

This module is deprecated. Use MapSet instead.

Generic API for sets.

This module is deprecated, use the MapSet module instead.

Summary

Functions

delete(set, value) deprecated
empty(set) deprecated
equal?(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()

@type t() :: map()

value()

@type value() :: any()

values()

@type 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.