[Haskell] State Monad

Bruno Oliveira bruno.oliveira at comlab.ox.ac.uk
Fri Jan 13 04:41:27 EST 2006


Can somebody point me out the exact CVS location of the State Monad implementation
that ships with GHC? I am a bit lost in the CVS directory structure ...

Related to this, I saw the following thread:


Which seems to hint that there are 2 alternative implementations for the State Monad:
one lazy version and one more strict version. Is this correct?

What I am really trying to find out is if the version that ships with GHC is the strict 
version. At least I am inclined to think that, since a program that I expected to 
terminate is not terminating ...

Finally, if there are indeed two versions, can somebody write (or point me out) the two 
different implementations.



More information about the Haskell mailing list