|
|
|
|
|
by joeyh
5325 days ago
|
|
The problem with the simplification is that you really need to understand which monad code is using to read the code.
foo >>= bar >>= baz has very different behaviors in the IO monad (it's like a shell pipe foo | bar | baz) and the Maybe monad (it's like a short-circuiting foo && bar && baz). |
|