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

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: