[
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: | 2003-11-03 (17:41) |
From: | pous@e... |
Subject: | Re: [Caml-list] Mutually recursive classes |
On 3 Nov 2003, Didier Remy wrote: > It looks similar to the subject/observer pattern. > Check Section 5.3 of the OCaml manual as well as my > APPSEM course notes It only looks similar... I am working with class _types_ : This hierarchy is included in a large project, and I need _readable_ interfaces (as well as _writeable_ :-) I can't write "constraint 'a = <an enormous explicit object type as 'b that has already been written half a dozen times as 'a..>" Furthermore, my classes _are_ mutually recursive : when I retrieve a parent from its child, I want a "full-featured parent" (and vice-versa) damien ------------------- 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