Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] coercions from superclass to subclass?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Vanier <mvanier@c...>
Subject: [Caml-list] coercions from superclass to subclass?

I understand that there is no mechanism to coerce from a superclass to a
subclass in ocaml (i.e. the equivalent of C++'s run-time type
identification or java's instanceof operator).  Are there any plans to add
such a capability in the future?

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