News for hackers. Stuff that matters.

luminous_arbour

Re:Why I love Common Lisp and hate Java (2012) on Sunday November 04, 2018 @09:15AM (#18375940)
The Clojure standard library has had the the 'as->' macro for a while which serves the same purpose as the "magic wand". It doesn't need to use '<>' as the identifier, but I usually choose to do so because I learned about the magic wand library before I learned about the 'as->' macro.

  (as-> {} <> 
      ...
      (add-age 21 <>)
      ...)