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 SAA17756; Tue, 8 Apr 2003 18:33:39 +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 SAA17722 for ; Tue, 8 Apr 2003 18:33:37 +0200 (MET DST) Received: from dux.ru (ns.dux.ru [193.125.210.65]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38GXaX26625 for ; Tue, 8 Apr 2003 18:33:36 +0200 (MET DST) Received: from dux.ru (localhost [127.0.0.1]) by dux.ru (8.12.6/8.12.6) with ESMTP id h38Gex6X059783 for ; Tue, 8 Apr 2003 20:40:59 +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 h38Gex2R059782 for caml-list@inria.fr; Tue, 8 Apr 2003 20:40:59 +0400 (MSD) (envelope-from snob@snob.spb.ru) Received: (qmail 1669 invoked by uid 0); 8 Apr 2003 16:05:20 -0000 Received: from unknown (HELO athlon.snob.spb.ru) (unknown) by unknown with SMTP; 8 Apr 2003 16:05:20 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Nickolay Semyonov-Kolchin To: Damien , caml-list@inria.fr Subject: Re: [Caml-list] single-line comment request Date: Tue, 8 Apr 2003 19:49:04 +0500 User-Agent: KMail/1.4.3 References: <200304081756.05304.snob@snob.spb.ru> <20030408172805.164bcf63.Damien.Pous@ens-lyon.fr> In-Reply-To: <20030408172805.164bcf63.Damien.Pous@ens-lyon.fr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304081949.04541.snob@snob.spb.ru> X-Spam: no; 0.00; nickolay:01 snob:01 spb:01 caml-list:01 damien:01 weis:01 ocaml:01 lisp:01 emacs:01 nested:02 wrote:03 let:04 guess:06 maybe:06 typed:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tuesday 08 April 2003 20:28, Damien wrote: > On Tue, 8 Apr 2003 17:56:05 +0500 Nickolay Semyonov-Kolchin wrote: > > Hi, > > hello > > > 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 _ =3D ## Another single line comment > > ... > > maybe some emacs/vi guru could write a shortcut that [un]comment a > single line... > I am not used to Lisp, but I guess it shouldn't be difficult. > I tried that approach. This brings hell when nested comments appear. 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