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