Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](i ...Set[T]) bool
Types ¶
type Set ¶
type Set[T comparable] map[T]struct{}
func From ¶ added in v0.1.5
func From[T comparable](v ...T) Set[T]
func FromSlice ¶
func FromSlice[T comparable](s []T) Set[T]
func Sum ¶
func Sum[T comparable](i ...Set[T]) Set[T]
func Union ¶
func Union[T comparable](i ...Set[T]) Set[T]
Click to show internal directories.
Click to hide internal directories.