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] Open types and methods
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: jmarant@n...
Subject: [Caml-list] Open types and methods


  I know that I cannot use open types as method parameter types,

  method foo (w : #mother) = ....

  So, how can I pass to a method an object of a given class or
  of its inherited classes, i.e. how to work this limitation



Jérôme Marant
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: