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 KAA26730; Mon, 2 Apr 2001 10:51:47 +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 KAA26587 for ; Mon, 2 Apr 2001 10:51:46 +0200 (MET DST) Received: from miss.wu-wien.ac.at (miss.wu-wien.ac.at [137.208.107.17]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f328pjj16827 for ; Mon, 2 Apr 2001 10:51:45 +0200 (MET DST) Received: (from mottl@localhost) by miss.wu-wien.ac.at (8.9.0/8.9.0) id KAA11401; Mon, 2 Apr 2001 10:50:28 +0200 (MET DST) Date: Mon, 2 Apr 2001 10:50:28 +0200 From: Markus Mottl To: Judicael Courant Cc: Jacques Garrigue , caml-list@inria.fr Subject: Re: [Caml-list] Future of labels, and ideas for library labelling Message-ID: <20010402105028.A9943@miss.wu-wien.ac.at> References: <20010402123958K.garrigue@kurims.kyoto-u.ac.jp> <3AC83117.7C3AD3C9@lri.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <3AC83117.7C3AD3C9@lri.fr>; from Judicael.Courant@lri.fr on Mon, Apr 02, 2001 at 09:58:15 +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 02 Apr 2001, Judicael Courant wrote: > Jacques Garrigue a =E9crit : > > First, concerning the standard library, an idea would be to first > > remove all labels from the default versions, but then add labelized > > versions of some specific functions with a different name (adding a > > "'" for instance). > > I mostly think of: Pervasives.output', Pervasives.input', > > Pervasives.really_input', Array.blit', String.blit'; > > and maybe also String.sub', String.fill', Buffer.add_substring', > > Hashtbl.add', Map.add'. > So I think this is the Wrong Approach (tm). Instead, you should provide > an CompatLib (or WithoutLabels) compatibility module for old code and > a possibly a flag for compiling code with an implicit "open CompatLib". I second Judicael's proposal. Having to type in those ' is surely annoying and looks ugly. Regards, Markus Mottl --=20 Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr