From: Richard Jones <rich@annexia.org>
To: Shaddin Doghmi <shaddin@mitre.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] private methods too private?
Date: Tue, 5 Oct 2004 21:44:10 +0100 [thread overview]
Message-ID: <20041005204410.GA17544@annexia.org> (raw)
In-Reply-To: <416304AC.5070405@mitre.org>
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
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
> would like to have methods that can be invoked by other objects of that
> class, but not anywhere else. Is it possible to do something like this,
> 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.
--
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/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-10-05 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 20:31 Shaddin Doghmi
2004-10-05 20:44 ` Richard Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041005204410.GA17544@annexia.org \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=shaddin@mitre.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox