Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] dynamic dispatching
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mirko Aigner <Mirko.Aigner@a...>
Subject: [Caml-list] dynamic dispatching
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 Archives:
Bug reports: FAQ:
Beginner's list: