slices

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v0.0.15

func All[S ~[]E, E any](s S) iter.Seq2[int, E]

func AppendSeq added in v0.0.15

func AppendSeq[S ~[]E, E any](s S, seq iter.Seq[E]) S

func Backward added in v0.0.15

func Backward[S ~[]E, E any](s S) iter.Seq2[int, E]

func Chunk added in v0.0.15

func Chunk[S ~[]E, E any](s S, n int) iter.Seq[S]

func Collect

func Collect[E any](s iter.Seq[E]) []E

func Sorted added in v0.0.15

func Sorted[E cmp.Ordered](seq iter.Seq[E]) []E

func SortedFunc added in v0.0.15

func SortedFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E

func SortedStableFunc added in v0.0.15

func SortedStableFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E

func Values added in v0.0.15

func Values[S ~[]E, E any](s S) iter.Seq[E]

Types

This section is empty.

Jump to

Keyboard shortcuts

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