Hacker News new | ask | show | jobs
by emsimot 2619 days ago
Does Common Lisp have something similar to Clojure's threading macros?

  (trim-string (get-string '(some data)))

  (-> '(some data)
      get-string
      trim-string
https://clojure.org/guides/threading_macros
1 comments

Yes, of course there is... Lisp always has the thing you find :-) https://github.com/hipeta/arrow-macros
Thanks guys, that macro makes it easier to see the flow :)