4 Sep
2009
4 Sep
'09
11:52 p.m.
On Fri, Sep 4, 2009 at 4:42 PM, John Meacham
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