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 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: -- (:)
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
...