[Haskell] State Monad

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


Hello,

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:

http://www.mail-archive.com/haskell@haskell.org/msg17702.html

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.

Thanks,

Bruno




More information about the Haskell mailing list