io.aviso.toolchest.threads

added in 0.1.1

Utilities associated with Clojure’s threading macros (-> and ->>).

apply->

(apply-> value f)(apply-> value f x)(apply-> value f x y)(apply-> value f x y & arguments)

Applies a function to the threaded value, using the threaded value as the first argument to the function.

apply->>

(apply->> value f)(apply->> value f x)(apply->> value f x y)(apply->> value f x y & arguments)

Applies a function to the threaded value, using the value as the last argument to the function.