|
|
|
|
|
by jrockway
6012 days ago
|
|
This is true, but not really relevant to the original article or the comment you are replying to. When you sequence computations with >>=, like the grandparent does, you generally evaluate the left side of the operation before running the computation. That is the point of monads; sequencing computations and controlling the order of evaluation. Sine the rhs depends on the lhs, the sequence is "evaluate lhs completely", "evaluate rhs completely", and so on. |
|