English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
'open' on objects?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-02 (19:03)
From: Chris Clearwater <chris@d...>
Subject: 'open' on objects?
Is it possible to create an object by extending another object?

I'd like to do something like this:

...
object
  open (an_object:class_type)
  ...
end
...