weighted_pairs: Create a stream of (ordered) pairs, from two individual...

Description Usage Arguments

Description

The output stream will be ordered in ascending order of the weight function on each pair.

Usage

1
weighted_pairs(s1, s2, weight)

Arguments

s1

A stream

s2

A stream

weight

a weight function that is used to order the resulting stream


tarakc02/lazylist documentation built on May 31, 2019, 3:51 a.m.