Liking cljdoc? Tell your friends :D
All platforms.

injest.report.path


+>clj/smacro

(+> x & forms)

Just like ->> but for ints will index into vectors and sequences and get into maps, whereas for strings, booleans and nils, will be passed to the thread-value as a lookup param. Also wraps lambdas. As in: (let [m {1 {"b" [0 1 {:c :res}]}}] (+> m 1 "b" 2 :c name #(str "hi" % "!"))) ;=> "hi res!"

Just like ->> but for ints will index into vectors and sequences and `get` 
into maps, whereas for strings, booleans and nils, will be passed to the 
thread-value as a lookup param. Also wraps lambdas.
As in:
(let [m {1 {"b" [0 1 {:c :res}]}}]
  (+> m 1 "b" 2 :c name #(str "hi" % "!"))) ;=> "hi res!"
sourceraw docstring

+>>clj/smacro

(+>> x & forms)

Just like ->> but for ints will index into vectors and sequences and get into maps, whereas for strings, booleans and nils, will be passed to the thread-value as a lookup param. Also wraps lambdas. As in: (let [m {1 {"b" [0 1 {:c :res}]}}] (+>> m 1 "b" 2 :c name #(str "hi" % "!"))) ;=> "hi res!"

Just like ->> but for ints will index into vectors and sequences and `get` 
into maps, whereas for strings, booleans and nils, will be passed to the 
thread-value as a lookup param. Also wraps lambdas.
As in:
(let [m {1 {"b" [0 1 {:c :res}]}}]
  (+>> m 1 "b" 2 :c name #(str "hi" % "!"))) ;=> "hi res!"
sourceraw docstring

=>>clj/s≠macro

clj
(=>> x & thread)

Just like x>> but first composes stateless transducers into a function that r/folds in parallel the values flowing through the thread. Remaining stateful transducers are composed just like x>>.

Just like x>> but first composes stateless transducers into a function that 
`r/fold`s in parallel the values flowing through the thread. Remaining
stateful transducers are composed just like x>>.
cljs
(=>> & args)

Just like x>>, for now

Just like x>>, for now
source (clj)source (cljs)raw docstring

x>>clj/smacro

(x>> x & thread)

Just like +>> but first composes transducers into a function that sequences the thread values through the transducers.

Just like +>> but first composes transducers into a function that sequences
the thread values through the transducers.
sourceraw docstring

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

× close