Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] single-line comment request
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nickolay Semyonov-Kolchin <snob@s...>
Subject: [Caml-list] single-line comment request
Hi,

	I really want single-line comment in Ocaml. Peter Weis (sorry, if I typed 
name wrong) several time ago said that "there is no suitable character for 
single line comment". Why don't use double '#'? I.e. '##'. 

## Single line comment
let _ = ## Another single line comment
...

Nickolay

-------------------
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