Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[E comparable] map[E]struct{}
func Intersection ¶
func Intersection[E comparable](s1, s2 Set[E]) Set[E]
func Make ¶
func Make[E comparable](es ...E) Set[E]
func Map ¶
func Map[E1, E2 comparable](s Set[E1], f func(E1) E2) Set[E2]
func Union ¶
func Union[E comparable](s1, s2 Set[E]) Set[E]
Click to show internal directories.
Click to hide internal directories.