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 dispatch
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] dynamic dispatch
On Thu, 16 Sep 2004, Christopher Alexander Stein wrote:

> Hi, Is it possible to use the Caml OO features to implement
> dynamic dispatch (without using type system back doors such as
> Obj.Magic or object serialization)? Or are the OO features just
> syntax. Thank you, Lex

What do you need dynamic dispatch for?  What problem are you trying to 

I ask because I don't think it's possible without Obj.magic and friends.  
I've never needed it, but who knows- you might have a legitimate need for 
it.  In which case your problem becomes a case example and shows me 
something important about Ocaml and programming.  Or you might just need 
to think about the problem differently.  

"Usenet is like a herd of performing elephants with diarrhea -- massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it."
                                - Gene Spafford 

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