Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] private methods too private?
@ 2004-10-05 20:31 Shaddin Doghmi
  2004-10-05 20:44 ` Richard Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Shaddin Doghmi @ 2004-10-05 20:31 UTC (permalink / raw)
  To: caml-list

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?

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-05 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-05 20:31 [Caml-list] private methods too private? Shaddin Doghmi
2004-10-05 20:44 ` Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox