
9 Nov
2009
9 Nov
'09
8:44 p.m.
Nicolas Pouillard
Either is not a monad, you can check this by typing :i Either in GHCi; you will not see a line like instance Monad Either in the result. Compare this to :i Maybe
In fact the Either Monad instance is defined in the 'transformers' (or 'mtl') packages.
Either is still not a monad. Have a look at its kind. Greets, Ertugrul. -- nightmare = unsafePerformIO (getWrongWife >>= sex) http://blog.ertes.de/