<br><br>2009/11/12 Heinrich Apfelmus <span dir="ltr">&lt;<a href="mailto:apfelmus@quantentunnel.de">apfelmus@quantentunnel.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Interestingly, this is different from  Control.Monad.State.Strict . The<br>
latter never forces the state itself, just the pair constructor of the<br>
(result,state) pair.<br>
  <br>
</blockquote><br>
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.<br>
<br>Matthew<br>