slices

package
v0.0.0-...-0843859 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shard

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

Shard breaks the given slice into n slices of (almost) the same size.

Types

This section is empty.

Jump to

Keyboard shortcuts

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