#
View Source Set (Elixir v1.15.7)

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

Link to this type

# t()

View Source

    @type t() :: map()

Link to this type

# value()

View Source

    @type value() :: any()

Link to this type

# values()

View Source

    @type values() :: [value()]

# Functions

Link to this function

# delete(set, value)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# difference(set1, set2)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# disjoint?(set1, set2)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# empty(set)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# equal?(set1, set2)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# intersection(set1, set2)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# member?(set, value)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# put(set, value)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# size(set)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# subset?(set1, set2)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# to_list(set)

View Source
This function is deprecated. Use the MapSet module for working with sets.
Link to this function

# union(set1, set2)

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