Threading macros


Threading macros let you turn your code “inside out”. They are a way of turning code that you read from right to left to left to right, which is often a more natural way to read. There are quite a few of them but thew work together.

Common threading macros:

->, ->>, cond->, cond->>, as->

Please vote. Comments are encouraged!

  • :thumbsup: Yes, please teach this!
  • :thumbsdown: No, I’m not interested.

0 voters