News for hackers. Stuff that matters.
Re:Concatenation is composition by dimitar on Monday July 18, 2022 @09:33AM (#32138172)
Clojure has built-in macros and functions that allow you to do similar composition - without having to name arguments.

One of them is to use the threading macros (-> value fun1 fun2), and another one is to use the comp function. Both will require you to name arguments for anonymous functions, but this is likely not an issue as you have even better ways to get a lambda like using partial, comp itself or other higher level functions.

There are no comments on this comment yet.