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 BAA27036; Sun, 28 Oct 2001 01:46:29 +0200 (MET DST) 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 BAA27002 for ; Sun, 28 Oct 2001 01:46:28 +0200 (MET DST) Received: from leia.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f9RNkRv05765 for ; Sun, 28 Oct 2001 01:46:28 +0200 (MET DST) Received: by leia.mandrakesoft.com (Postfix, from userid 505) id 223725708; Sun, 28 Oct 2001 01:44:31 +0200 (CEST) To: Daniel de Rauglaudre Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] raise extra arg ignored References: <20011027223050.E29934@verdot.inria.fr> From: Pixel Date: 28 Oct 2001 01:44:31 +0200 In-Reply-To: <20011027223050.E29934@verdot.inria.fr> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Daniel de Rauglaudre writes: > 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? well, mine was not a big deal, twas something like this: failwith "foo %s bar" (foo bar) which of course should have been failwith (sprintf "foo %s bar" (foo bar)) it didn't take me long to understand what the pb was, but at runtime ;p ------------------- 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