lsearching: Searching with predicate f

Description Usage Arguments Examples

Description

Searching with predicate f

Usage

1
2
3
4
5
lfind(x, f)

lfilter(x, f)

lpartition(x, f)

Arguments

x

a lazy stream

f

a predicate function (a' -> boolean)

Examples

1
lfilter(1%..%10, function(x) x%%3== 0) # => llist(3,6,9)

TobCap/lazystreamr documentation built on May 9, 2019, 4:50 p.m.