Versions in this module Expand all Collapse all v0 v0.2.0 Nov 7, 2026 Changes in this version + func Keys[M ~map[K]V, K comparable, V any](m M) []K + func Max[T Ordered](item T, items ...T) T + func Min[T Ordered](item T, items ...T) T + func SliceContain[T comparable](arr []T, target T) bool + func SliceEqual[T comparable](a, b []T) bool + func SliceToCountMap[T comparable](arr []T) map[T]int + func SliceToMap[T comparable](arr []T) map[T]struct + func Values[M ~map[K]V, K comparable, V any](m M) []V + type Ordered interface + type Set struct + func NewSet[T comparable](items []T) *Set[T] + func (s *Set[T]) Add(v T) + func (s *Set[T]) Clear() + func (s *Set[T]) Has(v T) bool + func (s *Set[T]) Items() []T + func (s *Set[T]) Remove(v T) + func (s *Set[T]) Size() int