
25 Jan
2005
25 Jan
'05
9:46 a.m.
Jules Bean wrote:
It's in Control.Monad.Error. Not documented though.
Jules
Ahh, so it is: instance MonadPlus IO where mzero = ioError (userError "mzero") m `mplus` n = m `catch` \_ -> n So, the author of this obviously subscribed to the view that side-effects are not counted when considering function identity... Keean