Control.Monad.Writer.Strict not as strict as expected
ekmett at gmail.com
Fri Sep 16 02:53:51 CEST 2011
On Thu, Sep 15, 2011 at 7:50 PM, Matt Brown <matt at softmechanics.net> wrote:
> Thanks for the clarification. Though the lazy version suits my
> present need well, I wonder if a variant strict in its monoid would be
> useful as well. If nothing else, it might help highlight that the
> Strict version is not, something I didn't realize until reading the
FYI- If you need one, you can model a particularly strict writer by using
the state monad with the help of seq or ($!).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries