[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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
solve?
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
Brian
-------------------
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