3 ms·
It would be even better without the `>`, though. The `|>` is a bit awkward to type, and more noisy visually.
by layer8 2y ago
It would be even better without the `>`, though. The `|>` is a bit awkward to type, and more noisy visually.
- MyOutfitIsVague 2y agoI disagree, because then it can be very ambiguous with an existing `|` operator. The language has to be able to tell that this is a pipeline and not doing a bitwise or operation on the output of multiple functions.
- layer8 2y agoYes, I’m talking about a language where `|` would be the pipe operator and nothing else, like in a shell. Retrofitting a new operator into an existing language tends to be suboptimal.