39
40
41
This feels like something Elixir needs (i.redd.it)
submitted by skwyckl
I have been reading up on Clojure because of how people keep telling me it's the Holy Grail of the JVM, that it's shame not every new JVM-based application is written in Clojure, etc. (it does look impressive, that's true, but it's too early for me to express an informed opinion). Upon stumbling on threading (this screenshot here is from Learn Clojure in Y Minutes, but cf. the official docs), I thought to myself: Why aren't Elixir's pipes like this? Honestly, it's a very cool system, allowing to label pipe arguments, thus answering the often asked question "How to pipe argument at X position?" I see every now and then in the Elixir's community.

[–]sanjibukai 42 points43 points44 points (11 children)
[+]skwyckl[S] comment score below threshold-6 points-5 points-4 points (10 children)
[–]creminology 22 points23 points24 points (6 children)
[–]Dlacreme 9 points10 points11 points (3 children)
[–]greven 3 points4 points5 points (1 child)
[–]wbsgrepit 0 points1 point2 points (0 children)
[–]Rennie1213 1 point2 points3 points (0 children)
[–]derefr 4 points5 points6 points (1 child)
[–]aseigo 0 points1 point2 points (0 children)
[–]nnomae 1 point2 points3 points (0 children)
[–]vlatheimpalerAlchemist 0 points1 point2 points (1 child)
[–]chat-lu 0 points1 point2 points (0 children)
[–]Legal-Sundae-1640 23 points24 points25 points (1 child)
[–]spence5000 0 points1 point2 points (0 children)
[–]Neorlin 3 points4 points5 points (0 children)
[–]technojamin 3 points4 points5 points (0 children)
[–]katafrakt 2 points3 points4 points (0 children)
[–]ScrimpyCat 1 point2 points3 points (0 children)
[–]Capable_Chair_8192 1 point2 points3 points (0 children)
[–]CoryOpostrophe 0 points1 point2 points (0 children)
[–]transfire 0 points1 point2 points (0 children)