Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Identity ¶
func Identity[V any](input V) V
Identity is an f(x) = x function. Really useful for testing.
func Map ¶
Map transforms a slice of inputs through the transform function to result in an equal sized slice of outputs.
func Split ¶
Split applies all elements e to test. All e which test returns true are in the first slice, all others are in the second slice. Useful for splitting a slice into two buckets to be further operated on. Filter discards the negative results of test which is more efficient if no further processing needs to occur.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.