Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocaml compiler features
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Ocaml compiler features
On Tuesday 16 January 2007 17:51, Edgar Friendly wrote:
> C is interesting because the braces are optional, and people get into
> trouble often when they fail to use them.  And many people's solution is
> to treat the braces as non-optional.  I don't think this is as
> appropriate in ocaml because parens serve a second use: constructing
> tuples.

Braces have other meanings in C too, e.g. array literals.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists