transduce: Transduce

Description Usage Arguments Details Value

Description

This function is like reduce but it takes a transducer and a normal step function used in reduce.

Usage

1
transduce(transducer, step, collection, init)

Arguments

transducer

a transducer.

step

a step function.

collection

a collection or a sequence.

init

an initial value. If ommitted the step function will be called to generate a value without an argument.

Details

More documentation will follow. Api not stable yet.

Value

The result of the reduction piped through the transducer.


dirkschumacher/transduceR documentation built on May 15, 2019, 8:50 a.m.