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 RAA13727; Tue, 8 Apr 2003 17:17:12 +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 RAA13716 for ; Tue, 8 Apr 2003 17:17:11 +0200 (MET DST) Received: from mailhost.trusted-logic.fr (mailhost.trusted-logic.fr [194.250.150.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38FH9X21292 for ; Tue, 8 Apr 2003 17:17:09 +0200 (MET DST) Received: from ouessant.trusted-logic.fr (ouessant.trusted-logic.fr [192.168.1.201]) by mailhost.trusted-logic.fr (Postfix) with ESMTP id 8FF54F8198 for ; Tue, 8 Apr 2003 17:17:08 +0200 (CEST) Received: (from lacas@localhost) by ouessant.trusted-logic.fr (8.9.3/8.9.3) id RAA05275 for caml-list@inria.fr; Tue, 8 Apr 2003 17:17:08 +0200 Date: Tue, 8 Apr 2003 17:17:08 +0200 From: Samuel Lacas To: caml-list@inria.fr Subject: Re: [Caml-list] single-line comment request Message-ID: <20030408171708.A3382@ouessant.trusted-logic.fr> References: <200304081756.05304.snob@snob.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre3us In-Reply-To: <200304081756.05304.snob@snob.spb.ru> X-Send-From: ouessant.trusted-logic.fr X-Operating-System: Linux ouessant.trusted-logic.fr 2.2.19 X-Spam: no; 0.00; samuel:01 lacas:01 caml-list:01 nickolay:01 weis:01 camlp:01 personnally:01 ecrit:01 ocaml:01 08,:03 let:04 hmm:05 typed:07 comment:08 tue:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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, sL ------------------- 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