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 PAA30472; Wed, 8 May 2002 15:10:55 +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 PAA30198 for ; Wed, 8 May 2002 15:10:54 +0200 (MET DST) Received: from exchange.cs.cornell.edu (exchange.cs.cornell.edu [128.84.97.8]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g48DArD22045 for ; Wed, 8 May 2002 15:10:54 +0200 (MET DST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Subject: [Caml-list] Naming conventions X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Wed, 8 May 2002 09:10:53 -0400 Message-ID: Thread-Topic: Naming conventions Thread-Index: AcH2kcgUH8bnThBaQjOafGZDS/igxQ== From: "Paul Stodghill" To: "Caml Mailing List (E-mail)" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk In Scheme, there is a conventtion that the names of destructive = functions end with "!" and predicates end with "?". E.g., "append!" vs. = "append", and "null?", "pair?", etc. Are there any similar conventions that people use in O'Caml? I ask because I am implementing a class and I want to provide both = destructive and non-destructive versions of some of the methods. I would = like the method names to clearly indicate which is which. Thanks. ------------------- 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