5 Sep
2009
5 Sep
'09
7:52 a.m.
On Fri, Sep 4, 2009 at 4:42 PM, John Meacham<john@repetae.net> wrote:
Ah, excellent! I was wondering whether lazy writer monads were hurting me. A lot of the written data is 'mempty' so if those are lazily being stored up, I could see that leaking memory. I use Writer monads all over the place, I wonder if the strict versions will help in other places.
It depends. If you are using 'tell (f large_thing)' where (f large_thing) === mempty, then yes. -- Taral <taralx@gmail.com> "Please let me know if there's any further trouble I can give you." -- Unknown