16 Jul
2009
16 Jul
'09
7:18 a.m.
On Wed, Jul 15, 2009 at 3:33 PM, Yair Chuchem<yairchu@gmail.com> wrote:
A new "generator" package has been uploaded to Hackage. It implements an alternative list monad transformer, a list class, and related functions.
I see you define ListT as a datatype: http://hackage.haskell.org/packages/archive/generator/0.5.1/doc/html/src/Con... Can't you better define it as a newtype and so avoid the overhead of constructing and deconstructing ListTs? Or do you need to worry about strictness? BTW, note that your ListT is also similar to my StreamT: http://code.haskell.org/~basvandijk/code/stream/Control/Monad/StreamT.hs (not on Hackage) regards, Bas