News for hackers. Stuff that matters.
Re:Monadic I/O and Unix shell programming (2001) by ridiculous_fish on Sunday February 18, 2018 @09:11PM (#16410269)
> Operator | (a pipe), "forces" a command, which is a promise of output, on its left producing a stream, an argument for a command on the right-hand side of the pipe. A shell pipe thus is an equivalent of a monadic >>= operator.

Why is this monadic and not just function composition? Why not just identify `a|b` with `b.a` and `a;b` with `seq a b`?

There are no comments on this comment yet.