Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeftZip ¶
func LeftZip[Key cmp.Ordered, Left any, Right any]( leftSlice []Left, leftKeyFn func(Left) Key, rightSlice []Right, rightKeyFn func(Right) Key, ) iter.Iter[LeftZipItem[Left, Right]]
Zip-iter two sorted slices, yielding each element of leftSlice exactly once, together with a rightSlice element with the same key if available. If the same key appears in rightSlice multiple times, only the first occurrence may get yielded.
Types ¶
Click to show internal directories.
Click to hide internal directories.