# Elixir v1.10.3 Set View Source

This module is deprecated. Use MapSet instead.

Generic API for sets.

This module is deprecated, use the `MapSet` module instead.

# Link to this section 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

# Link to this section Types

Link to this type

# t()

View Source

## Specs

    t() :: map()

Link to this type

# value()

View Source

## Specs

    value() :: any()

Link to this type

# values()

View Source

## Specs

    values() :: [value()]

# Link to this section 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.