Browse thread
[Caml-list] single-line comment request
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nickolay Semyonov-Kolchin <snob@s...> |
| Subject: | Re: [Caml-list] single-line comment request |
On Tuesday 08 April 2003 20:17, Samuel Lacas wrote: > Nickolay Semyonov-Kolchin a écrit 0.5K le Tue, Apr 08, 2003 at 05:56:05PM > +0500: # 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 > # ... > > Hmm, may be a "simple" camlp4 extension can cater for your need, > though I personnally never explored camlp4 in depth... > > Hope this helps, > I have no camlp4 knowledge. If this can be implemented this way, I will be happy. Are you sure that this can be done in Camlp4? 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