Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Michael Snoyman
On Mon, Oct 19, 2009 at 3:46 PM, Jose Iborra 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: http://github.com/snoyberg/data-object/blob/control-monad-exception

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Wed, Oct 21, 2009 at 12:02 AM, Michael Snoyman wrote: > On Tue, Oct 20, 2009 at 5:17 PM, Nicolas Pouillard > wrote: >> >> On Tue, Oct 20, 2009 at 3:12 PM, Michael Snoyman >> wrote: >> > >> > >> > On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard >> > wrote: >> >> >> >> On Sun, Oct 18, 2009

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 > wrote: > > > > > > On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard > > wrote: > >> > >> On Sun, Oct 18, 2009 at 9:45 PM, Michael Snoyman > >> wrote:

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Tue, Oct 20, 2009 at 3:12 PM, Michael Snoyman wrote: > > > On Tue, Oct 20, 2009 at 11:04 AM, Nicolas Pouillard > wrote: >> >> On Sun, Oct 18, 2009 at 9:45 PM, Michael Snoyman >> wrote: >> > While working on the next release of data-object, I wanted to represent [...] >> About the name Attem

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 > wrote: > > While working on the next release of data-object, I wanted to represent > some > > operations that might fail. The typical candidates were: > >

Re: [Haskell-cafe] Error handling package

2009-10-20 Thread Nicolas Pouillard
On Sun, Oct 18, 2009 at 9:45 PM, 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 f

Re: [Haskell-cafe] Error handling package

2009-10-19 Thread Michael Snoyman
On Mon, Oct 19, 2009 at 3:39 PM, Jose Iborra 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 > > * Explici

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 * and

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-excepti

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 pr

[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 was.