Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] single-line comment request
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] single-line comment request
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