English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] semi-colons and begin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-05 (03:35)
From: Michael Hicks <mwh@d...>
Subject: Re: [Caml-list] semi-colons and begin
>In C I always use brackets with my if statements to avoid the similar
>problem, so I suppose I could use begin..end everywhere, but yuck! 

You can use parens instead of begin...end (I haven't checked the grammar,
but that's what I use all the time, anyway).


Michael Hicks
Ph.D. Candidate, the University of Pennsylvania
http://www.cis.upenn.edu/~mwh            mailto://mwh@dsl.cis.upenn.edu
"In essential things, unity; in doubtful things, liberty; in all things,
 charity." --Pope John XXIII, Ad Petri Cathedram, and popularly 
 attributed to St. Augustine

To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr