Liking cljdoc? Tell your friends :D

injest.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!"
raw 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!"
raw docstring

=>clj/s≠macro

clj
(=> x & thread)

Just like x> but first composes consecutive stateless transducing functions into a function that pipelines in parallel the thread values flowing through the thread. Remaining consecutive stateful transducers are composed just like x>.

Just like x> but first composes consecutive stateless transducing functions
into a function that pipelines in parallel the thread values flowing through the 
thread. Remaining consecutive stateful transducers are composed just like x>.
cljs
(=> & args)

Just like x>, for now

Just like x>, for now
raw docstring

=>>clj/s≠macro

clj
(=>> x & thread)

Just like x>> but first composes consecutive stateless transducing functions into a function that pipelines in parallel the thread values flowing through the thread. Remaining consecutive stateful transducers are composed just like x>>.

Just like x>> but first composes consecutive stateless transducing functions
into a function that pipelines in parallel the thread values flowing through the 
thread. Remaining consecutive stateful transducers are composed just like x>>.
cljs
(=>> & args)

Just like x>>, for now

Just like x>>, for now
raw docstring

x>clj/smacro

(x> x & thread)

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

Just like +> but first composes consecutive transducing fns into a function
that sequences the thread values through the transducers.
raw docstring

x>>clj/smacro

(x>> x & thread)

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

Just like +>> but first composes consecutive transducing functions into a
function that sequences the thread values through the transducers.
raw docstring

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

× close