Moderators: They make you lose count(Longest thread still alive!)

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Wait... Is that how you can chain functions in Clojure without nesting a gazillion parentheses? Because it looks a lot like this:

(+2) . (*3) . (*2) . (*2) $ 5

Edit: (+3) . (*3) . (*2) . (*2) $ 5 --Because I'm a derp
 
Yes that is how you chain them :p ->> is the thread-last macro and -> is the thread-first macro

(->> 5 (* 4) (* 3) (+ 3))