[Haskell-cafe] Alternative IO

Cristiano Paris cristiano.paris at gmail.com
Thu Jul 9 10:02:42 EDT 2009


On Thu, Jul 9, 2009 at 3:42 PM, Edward Kmett <ekmett at gmail.com> wrote:

> Hrmm. This should probably be made consistent with the MonadPlus instance
> for IO, so
>
> > empty = ioError (userError "mzero")
>

I agree. Of course, that was only a first attempt :)

Cristiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090709/40e9a5d2/attachment.html


More information about the Haskell-Cafe mailing list