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 AAA29127; Wed, 9 Apr 2003 00:08:27 +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 AAA29116 for ; Wed, 9 Apr 2003 00:08:26 +0200 (MET DST) Received: from ep09.kernel.pl (ep09.kernel.pl [212.87.11.162]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38M8PX13266 for ; Wed, 9 Apr 2003 00:08:26 +0200 (MET DST) Received: (qmail 7207 invoked by uid 566); 8 Apr 2003 22:08:21 -0000 Date: Wed, 9 Apr 2003 00:07:08 +0200 From: Michal Moskal To: Daniel Andor Cc: Ocaml Mailing List Subject: Re: [Caml-list] single-line comment request Message-ID: <20030408220708.GA6006@roke.freak> References: <200304082257.11046.da209@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304082257.11046.da209@cam.ac.uk> User-Agent: Mutt/1.4.1i X-PGP-Fingerprint: CF89 1B14 11BE 1CC9 2CA3 7497 5E32 69B4 BC71 B4C2 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Spam: no; 0.00; michal:01 moskal:01 malekith:01 pld-linux:01 caml-list:01 gratuitous:01 wroclaw:01 kernel:01 gcs:03 wrote:03 pld:03 contexts:03 08,:03 usefull:03 imperative:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Apr 08, 2003 at 10:57:11PM +0100, Daniel Andor wrote: > On Tuesday 08 April 2003 8:04 pm, Brian Hurt wrote: > > If we're going to be introducing gratuitous backwards incompatiblities, > > can we please do it for something usefull? Like say replacing begin/end > > with { and }. > > If I may be a beginner here: how does "begin ... end" differ from "( ... )"? > In practice I've found them to be interchangable, but that could just be an > accident. No accident, they are just the same. It's matter of personal taste to use one or another. begin ... end is used mainly in imperative contexts. -- : Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners