Skip to main content

clojure_transduce

Function clojure_transduce 

Source
pub fn clojure_transduce(
    cx: &mut Cx,
    source: &Value,
    pipeline: TransducerPipeline,
    init: Value,
    reducer: ClojureReducer,
) -> Result<Value>
Expand description

Runs a transducer pipeline over a source sequence using the sequence organ.

Thin Clojure-profile wrapper over sim_lib_sequence::transduce with a ClojureReducer fold step.