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
Which syntax to teach ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-24 (13:53)
From: Julien Moutinho <julien.moutinho@g...>
Subject: Re: [Caml-list] Which syntax to teach ?
On Wed, Oct 24, 2007 at 09:24:39AM -0400, Peng Zang wrote:
> Part of what made OCaml 
> attractive for me was its compactness.  Take "[x::[y::[z::t]]]" for example, 
> it's quite nasty compared to just "x::y::z::t".
there is an other syntax: [x; y; z :: t].

By the way, the revised syntax may ease moves through the code,
due to the presence of more brackets, from which one could jump
from one to another.