different flavours of Monad Transformer Library (fwd)

Iavor Diatchki iavor.diatchki at gmail.com
Wed Jan 7 15:55:53 EST 2009


Hello,
While people are discussing different monad libraries---there is also
monadLib that I and some of my colleagues use.  It is fairly small and
it works pretty well, I think.
-Iavor



On Wed, Jan 7, 2009 at 12:28 PM, Antoine Latter <aslatter at gmail.com> wrote:
> On Wed, Jan 7, 2009 at 11:23 AM, Mauro J. Jaskelioff <mjj at cs.nott.ac.uk> wrote:
>> Hi, sorry for the late reply,
>>
>> I also like Ross' idea of monads being synonyms for transformers at Id.
>> It removes lots of repeated code.
>>
>
> There's a cost to that technique.
>
> Parsec3 introduced parsec as a monad transformer, and the parsec base
> monad is implemented as the transformer wrapped around the identity
> monad.
>
> There's a significant speed regression to doing so - I have a branch
> of Parsec3 which re-introduces a proper base monad and shares (some)
> code via typeclasses.  This puts us back at Parsec2 numbers.
>
> I don't have any hard data on hand at the moment, it's been a while.
>
> -Antoine
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list