Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Sun, Oct 18, 2009 at 9:45 PM, Michael Snoyman mich...@snoyman.com wrote: While working on the next release of data-object, I wanted to represent some operations that might fail. The typical candidates were: 1) Maybe 2) Either 3) Monad Monad is always iffy because of the often times

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Michael Snoyman
On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Sun, Oct 18, 2009 at 9:45 PM, Michael Snoyman mich...@snoyman.com wrote: While working on the next release of data-object, I wanted to represent some operations that might fail. The typical

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Tue, Oct 20, 2009 at 3:12 PM, Michael Snoyman mich...@snoyman.com wrote: On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Sun, Oct 18, 2009 at 9:45 PM, Michael Snoyman mich...@snoyman.com wrote: While working on the next release of data-object,

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Michael Snoyman
On Tue, Oct 20, 2009 at 5:17 PM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Tue, Oct 20, 2009 at 3:12 PM, Michael Snoyman mich...@snoyman.com wrote: On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Sun, Oct 18, 2009 at 9:45 PM,

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Wed, Oct 21, 2009 at 12:02 AM, Michael Snoyman mich...@snoyman.com wrote: On Tue, Oct 20, 2009 at 5:17 PM, Nicolas Pouillard nicolas.pouill...@gmail.com wrote: On Tue, Oct 20, 2009 at 3:12 PM, Michael Snoyman mich...@snoyman.com wrote: On Tue, Oct 20, 2009 at 11:04 AM, Nicolas

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Michael Snoyman
On Mon, Oct 19, 2009 at 3:46 PM, Jose Iborra pepeibo...@gmail.com wrote: You may want to take a look at another option in Hackage, the control-monad-exception package. I've tried using the package; you can see the results at this github branch:

Re: [Haskell-cafe] Error handling package

2009-10-19 Thread Jose Iborra
You may want to take a look at another option in Hackage, the control- monad-exception package. http://pepeiborra.github.com/control-monad-exception/ The control-monad-exception library provides the building blocks for * Explicitly Typed exceptions (checked or not) * which are composable *

Re: [Haskell-cafe] Error handling package

2009-10-19 Thread Michael Snoyman
On Mon, Oct 19, 2009 at 3:39 PM, Jose Iborra pepeibo...@gmail.com wrote: You may want to take a look at anoother option in Hackage, the control-monad-exception package. http://pepeiborra.github.com/control-monad-exception/ The control-monad-exception library provides the building blocks for

[Haskell-cafe] Error handling package

2009-10-18 Thread Michael Snoyman
While working on the next release of data-object, I wanted to represent some operations that might fail. The typical candidates were: 1) Maybe 2) Either 3) Monad Monad is always iffy because of the often times poorly defined fail. Maybe doesn't provide any means of reporting what the problem

Re: [Haskell-cafe] Error handling package

2009-10-18 Thread Henning Thielemann
On Sun, 18 Oct 2009, Michael Snoyman wrote: While working on the next release of data-object, I wanted to represent some operations that might fail. The typical candidates were: 1) Maybe 2) Either 3) Monad Monad is always iffy because of the often times poorly defined fail. Maybe doesn't

Re: [Haskell-cafe] Error handling package

2009-10-18 Thread Michael Snoyman
(Sorry, accidently took off cafe.) On Mon, Oct 19, 2009 at 12:44 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: On Mon, 19 Oct 2009, Michael Snoyman wrote: Does the explicit-exception package provide what you need? http://hackage.haskell.org/package/explicit-exception I