Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] struct { // contains filtered or unexported fields }
func New ¶
func New[T comparable](items ...T) *Set[T]
func Subtract ¶
func Subtract[T comparable](a *Set[T], b ...*Set[T]) *Set[T]
Subtract removes all items from a that are also in b
func Union ¶
func Union[T comparable](sets ...*Set[T]) *Set[T]
Click to show internal directories.
Click to hide internal directories.