View Source HashSet (Elixir v1.19.0-dev)

This module is deprecated. Use MapSet instead.

Tuple-based HashSet implementation.

This module is deprecated. Use the MapSet module instead.

Summary

Types

t()

@opaque t()

Functions

delete(set, term)

This function is deprecated. Use the MapSet module instead.

difference(set1, set2)

This function is deprecated. Use the MapSet module instead.

disjoint?(set1, set2)

This function is deprecated. Use the MapSet module instead.

equal?(set1, set2)

This function is deprecated. Use the MapSet module instead.

intersection(set1, set2)

This function is deprecated. Use the MapSet module instead.

member?(hash_set, term)

This function is deprecated. Use the MapSet module instead.

new()

This function is deprecated. Use the MapSet module instead.
@spec new() :: Set.t()

put(hash_set, term)

This function is deprecated. Use the MapSet module instead.

size(hash_set)

This function is deprecated. Use the MapSet module instead.

subset?(set1, set2)

This function is deprecated. Use the MapSet module instead.

to_list(set)

This function is deprecated. Use the MapSet module instead.

union(set1, set2)

This function is deprecated. Use the MapSet module instead.