iterutil

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZipShortestBy

func ZipShortestBy[A, B, R any](as iter.Seq[A], bs iter.Seq[B], f func(A, B) R) iter.Seq[R]

ZipShortestBy pairs values from two sequences and stops when either sequence ends.

This keeps the shorter-input semantics of go-iterator-helper's hiter.Pairs. It intentionally differs from samber/lo/it.ZipBy2, which pads missing values with zero values when the sequences have different lengths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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