Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortedInsert ¶
func SortedInsert[E constraints.Ordered, S ~[]E](s S, e E) S
func SortedKeys ¶
func SortedKeys[K OrderedKey, V any, M ~map[K]V](m M) []K
Types ¶
type OrderedKey ¶
type OrderedKey interface { comparable constraints.Ordered }
type Set ¶
type Set[T comparable] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.