From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA15672; Tue, 8 Apr 2003 17:57:15 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA15707 for ; Tue, 8 Apr 2003 17:57:14 +0200 (MET DST) Received: from dux.ru (dux.ru [193.125.210.65]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38FvDX24069 for ; Tue, 8 Apr 2003 17:57:13 +0200 (MET DST) Received: from dux.ru (localhost [127.0.0.1]) by dux.ru (8.12.6/8.12.6) with ESMTP id h38G4a6X057376 for ; Tue, 8 Apr 2003 20:04:36 +0400 (MSD) (envelope-from snob@snob.spb.ru) Received: (from uucp@localhost) by dux.ru (8.12.6/8.12.1/Submit) with UUCP id h38G4a0r057374 for caml-list@inria.fr; Tue, 8 Apr 2003 20:04:36 +0400 (MSD) (envelope-from snob@snob.spb.ru) Received: (qmail 1601 invoked by uid 0); 8 Apr 2003 15:44:09 -0000 Received: from unknown (HELO athlon.snob.spb.ru) (unknown) by unknown with SMTP; 8 Apr 2003 15:44:09 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Nickolay Semyonov-Kolchin To: Samuel Lacas Subject: Re: [Caml-list] single-line comment request Date: Tue, 8 Apr 2003 19:27:53 +0500 User-Agent: KMail/1.4.3 References: <200304081756.05304.snob@snob.spb.ru> <20030408171708.A3382@ouessant.trusted-logic.fr> In-Reply-To: <20030408171708.A3382@ouessant.trusted-logic.fr> Cc: caml-list@inria.fr MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304081927.53035.snob@snob.spb.ru> X-Spam: no; 0.00; nickolay:01 snob:01 spb:01 caml-list:01 samuel:01 lacas:01 weis:01 camlp:01 personnally:01 implemented:01 ecrit:01 ocaml:01 wrote:03 08,:03 let:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tuesday 08 April 2003 20:17, Samuel Lacas wrote: > Nickolay Semyonov-Kolchin a =E9crit 0.5K le Tue, Apr 08, 2003 at 05:56:= 05PM > +0500: # Hi, > # > # =09I 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 _ =3D ## 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 b= e=20 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