Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendOrdered ¶
func AppendOrdered[S ~[]E, E constraints.Ordered](dedupe bool, s ...S) S
func Dedupe ¶
func Dedupe[S ~[]E, E constraints.Ordered](s S) S
Dedupe is like `slices.Dedupe()` but operates on elements conforming to `constraints.Ordered`.
func Union ¶
func Union[S ~[]E, E constraints.Ordered](s ...S) S
Union returns an ordered set of deduped elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.