Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] raise extra arg ignored
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-31 (17:57)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] raise extra arg ignored
On Tue, Oct 30, 2001 at 05:17:37PM -0500, Dave Mason wrote:

> The `obvious' solution is to make raise be a statement rather than a
> function.  That has the added benefit of making raise a little
> clearer, to wit, instead of:

I thought of it, but it would not work. If "raise something" is an
expression, as there is a rule "expr expr", then you can syntactically
    exception Foo;;
    raise Foo 33 "bar" true;;

No solution.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: