4 ms·
> Below, the code on the left is equivalent to the more verbose ML expression on the right: Wait a sec ... ML has the pipe of Elixir? Damn, I didn't know that!
by zelphirkalt 2y ago
> Below, the code on the left is equivalent to the more verbose ML expression on the right:
Wait a sec ... ML has the pipe of Elixir? Damn, I didn't know that!
I like the brevity, but I don't like the (at least visual) need to indent or whitespace focus. I guess I am too much a sucker for S-expressions now. But a similar structure could probably be written as a macro in a lisp, avoiding any whitespace focus or even dependency on it.
- zeckalpha 2y agoOther way around... Elixir has the pipe of ML.