[Haskell-cafe] Re: Long running Haskell program

Matthew Pocock matthew.pocock at ncl.ac.uk
Thu Nov 12 05:01:53 EST 2009


2009/11/12 Heinrich Apfelmus <apfelmus at quantentunnel.de>

> Interestingly, this is different from  Control.Monad.State.Strict . The
> latter never forces the state itself, just the pair constructor of the
> (result,state) pair.
>
>
Yes. This bit me the first time I came across it. I think we need a
Control.Monad.State.StrictOnState with strict behaviour on the state value.
I notice this same underlying issue is coming up in more than one thread on
these lists.

Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091112/f46fba84/attachment.html


More information about the Haskell-Cafe mailing list