Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] private methods too private?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shaddin Doghmi <shaddin@m...>
Subject: [Caml-list] private methods too private?
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