Versions in this module Expand all Collapse all v0 v0.8.3 Feb 14, 2025 v0.8.2 Feb 14, 2025 Changes in this version + func Difference[K ordered, V any](a, b *Set[K, V]) []V + type Set struct + func NewSetWithCustomKey[K ordered, V any](getKey func(V) K, vals ...V) *Set[K, V] + func NewSet[T ordered](vals ...T) *Set[T, T] + func (s *Set[K, V]) Add(vals ...V) + func (s *Set[K, V]) Has(val V) bool + func (s *Set[K, V]) Values() []V