From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA15318; Wed, 31 Oct 2001 20:09:38 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA15039 for ; Wed, 31 Oct 2001 20:09:36 +0100 (MET) Received: from mel-rti18.wanadoo.fr ([193.252.19.34]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f9VJ9aH08337 for ; Wed, 31 Oct 2001 20:09:36 +0100 (MET) Received: from antholoma.wanadoo.fr (193.252.19.153) by mel-rti18.wanadoo.fr; 31 Oct 2001 20:09:35 +0100 Received: from debian (62.161.110.191) by antholoma.wanadoo.fr; 31 Oct 2001 20:08:46 +0100 Received: from moi by debian with local (Exim 3.32 #1 (Debian)) id 15z0k5-0001b8-00 for ; Wed, 31 Oct 2001 20:09:37 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] raise extra arg ignored References: <200110302129.WAA29040@pauillac.inria.fr> <200110302217.f9UMHbF07299@sarg.ryerson.ca> <20011031185708.U17285@verdot.inria.fr> From: Remi VANICAT Date: 31 Oct 2001 20:09:37 +0100 In-Reply-To: <20011031185708.U17285@verdot.inria.fr> Message-ID: <878zdr39u6.dlv@wanadoo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Daniel de Rauglaudre writes: > 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 > write: > > exception Foo;; > raise Foo 33 "bar" true;; > > No solution. Even if we change the priority of the application of raise ? -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr