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 UAA15712; Sun, 28 Oct 2001 20:47:26 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA15719 for ; Sun, 28 Oct 2001 20:47:24 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f9SJlNv16017 for ; Sun, 28 Oct 2001 20:47:23 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f9SJlNl94051 for ; Sun, 28 Oct 2001 20:47:23 +0100 (CET) Received: from (george@localhost) by clipper.ens.fr (8.9.2/jb-1.1) Date: Sun, 28 Oct 2001 20:47:23 +0100 From: Nicolas George To: caml-list@inria.fr Subject: Re: [Caml-list] raise extra arg ignored Message-ID: <20011028204723.A25632@clipper.ens.fr> References: <20011027223050.E29934@verdot.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20011027223050.E29934@verdot.inria.fr>; from daniel.derauglaudre@inria.fr on Sat, Oct 27, 2001 at 08:36:36PM +0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Le sextidi 6 brumaire, an CCX, Daniel de Rauglaudre a écrit : > I wonder whether there are situations where it could be a problem? > Sometimes, a missing semicolon can introduce typing errors or perhaps > work with different semantics (what is very bad). But here, I don't > see, since, generally, nobody add another statement after a "raise". > Does anybody have an example? It make sense to add statements after a raise if the raise in inside an if...else: if not (is_valid argument) then raise Some_exception; do_something argument ------------------- 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