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 RAA13574; Tue, 8 Apr 2003 17:15:42 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA13560 for ; Tue, 8 Apr 2003 17:15:41 +0200 (MET DST) Received: from epexch01.qlogic.org ([63.170.40.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h38FFe924035 for ; Tue, 8 Apr 2003 17:15:40 +0200 (MET DST) Received: from epmailtmp.qlogic.org ([10.20.33.254]) by epexch01.qlogic.org with Microsoft SMTPSVC(5.0.2195.5329); Tue, 8 Apr 2003 10:15:53 -0500 Received: from [10.20.33.146] ([10.20.33.146]) by epmailtmp.qlogic.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 8 Apr 2003 10:15:53 -0500 Date: Tue, 8 Apr 2003 10:19:12 -0500 (CDT) From: Brian Hurt X-X-Sender: Reply-To: Brian Hurt To: Nickolay Semyonov-Kolchin cc: Subject: Re: [Caml-list] single-line comment request In-Reply-To: <200304081756.05304.snob@snob.spb.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 08 Apr 2003 15:15:53.0246 (UTC) FILETIME=[BEECE3E0:01C2FDE1] X-Spam: no; 0.00; qlogic:01 caml-list:01 pushes:01 nickolay:01 weis:01 bug:01 faq:01 beginner's:01 beginners:01 bin:01 caml-bugs:01 ocaml:01 caml:01 imho:01 writting:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Personally, I don't find having to type three extra characters (space asterix close-paren) to end a comment to be that big of a burden. If a comment is long enough that three extra characters pushes it over a line length, then the comment is long enough to deserve it's own line. And if the burden of typing the three extra characters is enough that you stop writting (as many) comments, well, you have other problems IMHO. I am not seriously opposed to this, I just don't see the value. Brian On Tue, 8 Apr 2003, Nickolay Semyonov-Kolchin wrote: > 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 > ------------------- 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