>>>>> "Samuel" == Samuel Lacas writes: Samuel> Nickolay Semyonov-Kolchin a écrit 0.5K le Tue, Apr 08, 2003 Samuel> at 05:56:05PM +0500: Hi, I really want single-line comment Samuel> in Ocaml. Peter Weis (sorry, if I typed name wrong) several Samuel> time ago said that "there is no suitable character for Samuel> single line comment". Why don't use double '#'? I.e. '##'. Samuel> Single line comment let _ = ## Another single line comment Samuel> ... Samuel> Hmm, may be a "simple" camlp4 extension can cater for your Samuel> need, though I personnally never explored camlp4 in depth... Comments are processed by the lexer, so a simple extension to the camlp4 lexer should allow that. A patch to camlp4/lib/plexer.ml (O'Caml 3.06) follows. Thierry Salset CERMICS / ENPC