Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VoidVal = Void{}
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] map[T]Void
func Empty ¶
func Empty[T comparable]() (s Set[T])
func FromMapKeys ¶
func FromMapKeys[K comparable, V any](m map[K]V) Set[K]
func FromMapVals ¶
func FromMapVals[K, V comparable](m map[K]V) Set[V]
func FromSlice ¶
func FromSlice[T comparable](vals []T) Set[T]
func New ¶
func New[T comparable](vals ...T) Set[T]
Click to show internal directories.
Click to hide internal directories.