Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Syntax of constructor application
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Lukasz Stafiniak <l_stafiniak@h...>
Subject: [Caml-list] Syntax of constructor application
Hi List,

I propose that unary constructor application be right associative.
So that one could write:

let thg = Some Some Some Some None;;

instead of

let thg = Some (Some (Some (Some None)));;

What do you think?

Cheers,
Lukasz




Uwaga! Do końca sierpnia przedłużyli¶my promocje, do pakietów
wielostanowiskowych dokładamy PenDrive  SprawdĽ:
http://www.mks.com.pl/promocja-mobile.html

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners