(tee> x f)
Takes a value and an arity-1 function. Calls the function on the value. Meant to be used in a thread-first macro like:
(-> 1 (pliers/tee> println))
Takes a value and an arity-1 function. Calls the function on the value. Meant to be used in a thread-first macro like: (-> 1 (pliers/tee> println))
(tee>> f x)
Takes a value and an arity-1 function. Calls the function on the value, returning the original value. Meant to be used in a thread-last macro like:
(->> 1 (pliers/tee>> println))
Takes a value and an arity-1 function. Calls the function on the value, returning the original value. Meant to be used in a thread-last macro like: (->> 1 (pliers/tee>> println))
(then> x f)
Takes a value and an arity-1 function. Calls the function on the value, returning the result. Meant to be used in a thread-first macro like:
(-> 1 (pliers/then> (fn [v] (< 0 v 2))))
Takes a value and an arity-1 function. Calls the function on the value, returning the result. Meant to be used in a thread-first macro like: (-> 1 (pliers/then> (fn [v] (< 0 v 2))))
(then>> f x)
Takes a value and an arity-1 function. Calls the function on the value, returning the result. Meant to be used in a thread-last macro like:
(->> 1 (pliers/then>> (fn [v] (< 0 v 2))))
Takes a value and an arity-1 function. Calls the function on the value, returning the result. Meant to be used in a thread-last macro like: (->> 1 (pliers/then>> (fn [v] (< 0 v 2))))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close