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 RAA14283; Tue, 8 Apr 2003 17:30:01 +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 RAA14369 for ; Tue, 8 Apr 2003 17:30:00 +0200 (MET DST) Received: from avalon.ens-lsh.fr (mailhost.ens-lsh.fr [193.51.131.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38FTxX22295 for ; Tue, 8 Apr 2003 17:30:00 +0200 (MET DST) Received: from avalon.ens-lsh.fr (localhost [127.0.0.1]) by avalon.ens-lsh.fr (8.12.8/8.12.8) with ESMTP id h38GTobU014650 for ; Tue, 8 Apr 2003 17:29:51 +0100 (WEST) Received: from ens-notes1.ens-lsh.fr (ens-notes1.ens-lsh.fr [10.2.1.44]) by avalon.ens-lsh.fr (8.12.8/8.12.8) with ESMTP id h38GToFv014647 for ; Tue, 8 Apr 2003 17:29:50 +0100 (WEST) Received: from mostha ([10.3.25.150]) by ens-notes1.ens-lsh.fr (Lotus Domino Release 5.0.10) with SMTP id 2003040817283518:42345 ; Tue, 8 Apr 2003 17:28:35 +0200 Date: Tue, 8 Apr 2003 17:28:05 +0200 From: Damien To: caml-list@inria.fr Subject: Re: [Caml-list] single-line comment request Message-Id: <20030408172805.164bcf63.Damien.Pous@ens-lyon.fr> In-Reply-To: <200304081756.05304.snob@snob.spb.ru> References: <200304081756.05304.snob@snob.spb.ru> Organization: mosthagloups X-Mailer: Sylpheed version 0.8.10claws13 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on ens-notes1/ENS-LSH(Release 5.0.10 |March 22, 2002) at 08/04/2003 17:28:35, Serialize by Router on ens-notes1/ENS-LSH(Release 5.0.10 |March 22, 2002) at 08/04/2003 17:28:35, Serialize complete at 08/04/2003 17:28:35 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam: no; 0.00; damien:01 ens-lyon:01 caml-list:01 nickolay:01 weis:01 ocaml:01 lisp:01 emacs:01 wrote:03 let:04 guess:06 maybe:06 typed:07 difficult:07 comment:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 _ = ## 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. damien ------------------- 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