VIRUS ALERT Read this first. (Was Fwd: Re some MP3s here hehe ;-) )

2001-11-22 Thread Theodore Norvell
The message entitled Fwd: Re some MP3s here hehe ;-) not only doesn't belong on the list, but also contains a virus. Happy Haskelling, Theodore Norvell ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haske

Fw: Re: some mp3s here hehe ;-)

2001-11-22 Thread daan
peace

Re: Why no exceptions in Haskell?

2001-11-22 Thread Fergus Henderson
On 22-Nov-2001, Keith Wansbrough <[EMAIL PROTECTED]> wrote: > > I am just curious: Why does Haskell not provide exceptions a la SML? > > Why does only the IO monad allow for exceptions? > > GHC certainly implements exceptions, along the lines described in > > A semantics for imprecise exceptio

Re: Why no exceptions in Haskell?

2001-11-22 Thread Keith Wansbrough
> Hello *, > > I am just curious: Why does Haskell not provide exceptions a la SML? > Why does only the IO monad allow for exceptions? GHC certainly implements exceptions, along the lines described in A semantics for imprecise exceptions, Simon Peyton Jones, Alastair Reid, Tony Hoare, Simon

Re: Why no exceptions in Haskell?

2001-11-22 Thread Nicolas Oury
Hello, I may be wrong but I think that one reason is that this piece of code : try (raise A) + (raise B) with A -> 1 | B -> 2 (in CAML lyke style) booth reduce to 1 and to 2, depending of the order of evaluation of the arguments of a function call. That is something quite dangerous and not wa

Why no exceptions in Haskell?

2001-11-22 Thread Michael Marte
Hello *, I am just curious: Why does Haskell not provide exceptions a la SML? Why does only the IO monad allow for exceptions? Michael ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe