merge

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join[T comparable](x0 T, has0 bool, x1 T, has1 bool) T

Join implements a join function that just returns whatever value is being joined.

func Merge

func Merge[T cmp.Ordered](it0, it1 iter.Seq[T]) iter.Seq[T]

Merge implement stream merging on a set of ordered values.

func MergeGeneral

func MergeGeneral[T0, T1 any](it0, it1 iter.Seq[T0], cmp func(T0, T0) int, join func(T0, bool, T0, bool) T1) iter.Seq[T1]

func MergeMulti

func MergeMulti[T cmp.Ordered](its ...iter.Seq[T]) iter.Seq[T]

func MergeMultiGeneral

func MergeMultiGeneral[T any](cmp func(T, T) int, join func(T, bool, T, bool) T, its ...iter.Seq[T]) iter.Seq[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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