Version française
Home     About     Download     Resources     Contact us    
Browse thread
[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: -- (:)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] semi-colons and begin
On Wed, Apr 04, 2001 at 09:03:42PM -0400, mahamud@cs.cmu.edu wrote:

> another minor point regarding syntax : 
> the use of "(* ... *)" prevents one from passing the multiplication
> "*" operator as an argument (say to List.map2) without 
> padding some space as in : ( * ) as opposed to (*).
> it's a small point, but i don't think i've come across such unintended
> interactions between comments and other constructs in other languages.

C does it to with division and pointers.

        foo = bar/*ptr;

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