caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] dynamic dispatching
@ 2003-06-10 10:09 Mirko Aigner
  2003-06-10 10:34 ` Ville-Pertti Keinonen
  2003-06-12 16:35 ` brogoff
  0 siblings, 2 replies; 4+ messages in thread
From: Mirko Aigner @ 2003-06-10 10:09 UTC (permalink / raw)
  To: caml-list

Hi !!

I'm new to OCAML and have the following question:

I have to reimplement some code written in C++.
In C++ there is used a desgin pattern named Visitor, which i used 
instead of a dynamic_cast.
My question: is it generally possible to decide at runtime, if an object 
is of a specific type ?!
What I have read in the reference manual and some website's dynamic 
typechecking is not supported, means this dynamic dispatching as well ?!

I'm grateful for any answers ( positive or negative )

greetings Mirko Aigner

-------------------
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] 4+ messages in thread

end of thread, other threads:[~2003-06-12 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-10 10:09 [Caml-list] dynamic dispatching Mirko Aigner
2003-06-10 10:34 ` Ville-Pertti Keinonen
2003-06-10 23:33   ` Matt Gushee
2003-06-12 16:35 ` brogoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).