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 WAA15253; Tue, 5 Oct 2004 22:44:15 +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 WAA16676 for ; Tue, 5 Oct 2004 22:44:14 +0200 (MET DST) Received: from annexia.force9.co.uk (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i95KiDZ7016002 for ; Tue, 5 Oct 2004 22:44:14 +0200 Received: from rich by annexia.force9.co.uk with local (Exim 3.36 #1 (Debian)) id 1CEwAM-0004ZN-00; Tue, 05 Oct 2004 21:44:10 +0100 Date: Tue, 5 Oct 2004 21:44:10 +0100 To: Shaddin Doghmi Cc: caml-list@inria.fr Subject: Re: [Caml-list] private methods too private? Message-ID: <20041005204410.GA17544@annexia.org> References: <416304AC.5070405@mitre.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <416304AC.5070405@mitre.org> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at concorde with ID 4163079D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 0400,:01 ltd:98 htmlman:01 ocaml:01 caml:01 05,:01 objects:02 wrote:03 oct:03 object:03 object:03 configurable:03 perl:03 X-Attachments: type="application/pgp-signature" name="signature.asc" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 05, 2004 at 04:31:40PM -0400, Shaddin Doghmi wrote: > Private methods in an object are visible only inside that object. I=20 > would like to have methods that can be invoked by other objects of that= =20 > class, but not anywhere else. Is it possible to do something like this,= =20 > and if so what is the preferred way to do it? Friends, I think: http://caml.inria.fr/ocaml/htmlman/manual005.html#ss:friends Rich. --=20 Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment NET::FTPSERVER is a full-featured, secure, configurable, database-backed FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/ --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBYwea4le1M6q9pzoRAiMJAJ4it6m4tanlCG+hIBkPP5tgVjAbbQCfSghE 8wc4q/4+dgnSBePWJwUTE54= =ygWi -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- ------------------- 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