Hi,

I am a programmer coming from OOP. When using ocaml (here in my
company, we do not use the Objective part, i.e. no objects/classes) I
wonder how to make implementations exchangeable.

Example:
I want a collection. The implementation should be exchangeable without
changing the client code.

How to do that (without using classes and objects)?

When using modules and functors, I still have to prefix each function
call with a concrete implementation module. Instead I want to prefix
it with a general signature (like collection) so that I can quickly
exchange the underlying implementation.

Thank you in advance for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html

Reply via email to