Liking cljdoc? Tell your friends :D

streamer.core

Use transducers like normal collection functions!

Use transducers like normal collection functions!
raw docstring

=>cljmacro

(=> coll & xforms-and-terminal)

Thread coll through xforms, returning value from terminal. coll is a collection. xforms are functions like (map first) and (filter even) that return transducers. terminal is the last form in the => body. It takes %xform and %coll as implicit parameters and can be used to generate the final value once computation is complete.

Also see: transduce!, sequence!, and into!.

Thread coll through xforms, returning value from terminal.
`coll` is a collection.
`xforms` are functions like (map first) and (filter even) that
return transducers.
`terminal` is the last form in the `=>` body. It takes %xform and %coll
as implicit parameters and can be used to generate the final value
once computation is complete.

Also see: `transduce!`, `sequence!`, and `into!`.
sourceraw docstring

into!cljmacro

(into! to)

Dispatches to into. Use inside => as a terminal.

Dispatches to `into`.
Use inside `=>` as a terminal.
sourceraw docstring

sequence!cljmacro

(sequence!)

Dispatches to sequence. Use inside => as a terminal.

Dispatches to `sequence`.
Use inside `=>` as a terminal.
sourceraw docstring

transduce!cljmacro

(transduce! f)
(transduce! f init)

Dispatches to transduce. Use inside => as a terminal.

Dispatches to `transduce`.
Use inside `=>` as a terminal.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close