
12 Nov
2007
12 Nov
'07
7:47 p.m.
On Nov 13, 2007 1:08 AM, Luke Palmer
We want MaybeT!
I third this proposal. It would be nice having MaybeT included in mtl. Besides, and although it's not exactly the same, you can "emulate" the Maybe monad by using the Either monad (the instance is defined in Control.Monad.Error). And in this case you want a monad transformer, so ErrorT can do the trick. Just consider that all the Left values are Nothing and the Right values are Just.