3 ms·
I really like the pipe operators. I remember seeing this in Scheme a long time ago. I wonder why this isn't more common in other languages?
by stcredzero 3y ago
I really like the pipe operators. I remember seeing this in Scheme a long time ago. I wonder why this isn't more common in other languages?
- myzie 3y agoYeah. I know Elixir has its pipe operator |> which operates similarly. I don't know how much this really plays a part, but because "|" is so commonly used for the bitwise-or operator, you then have to choose another token to use for it. With Risor I made the judgement that bitwise-or can be handled in some other way, since it's less important than getting a concise pipe expression.