Mon, 23 Oct 2000 13:28:09 -0700 (PDT)
Sengan Baring-Gould writes:
>Is >>= not lazy?
since no experts have answered yet, this newbie will answer.
I think it's strict.
somewhere in the compiler doco, IIRC, it says (>>=) was lazy at
first, but experience showed it was more confusing for users
moreover, from the hslibs documentation, LazyST chapter:
"The lazy ST monad tends to be more prone to space leaks than the
strict version, so most programmers will use the former unless
laziness is explicitly required."