(+> 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!"
(+>> 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!"
(=> 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>.
(=> & args)
Just like x>, for now
Just like x>, for now
(=>> 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>>.
(=>> & args)
Just like x>>, for now
Just like x>>, for now
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close