Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Elixir pipe operator |> is the equivalent of the Clojure thread first macro ->, right?



Which is to say it's equivalent to function composition.


Yes it's syntactic sugar and for me personally harder to read but YMMV.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: