Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2007-01-16 (19:11)
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