ordered

package
v0.57.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL