Control.Monad.Writer.Strict not as strict as expected

Edward Kmett ekmett at
Fri Sep 16 02:53:51 CEST 2011

On Thu, Sep 15, 2011 at 7:50 PM, Matt Brown <matt at> 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
> source.

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...
URL: <>

More information about the Libraries mailing list