3.12 Pipe/Threading Operators
The forward pipe operator. Given a value and a series of single-argument functions,
applies them in order from left to right and returns the resulting value.
syntax
(f> fun args* ...)
A currying macro. Expands into an anonymous function that takes a single argument,
and inserts it as the first argument of fun, followed by the remaining
args*.
syntax
(l> fun args* ...)
The inverse of f>. Returns a function whose argument is placed as the last
argument to the given fun.
syntax
(-> initial-value (fun args* ...) ...)
The first-argument threading macro. Works similarly to :>, except that it
automatically applies f> to each listed form following the initial value.
syntax
(->> initial-value (fun args* ...) ...)