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] Mutually recursive classes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-03 (13:48)
From: Didier Remy <remy@m...>
Subject: Re: [Caml-list] Mutually recursive classes
Damien <> writes:

> Hello,
> I would like to create two mutually recursive classes,
> parents (a) and children (b)
> Furthermore, I'd like to define them incrementally
> parents and children,
> parents and children with hands
> parents and children with hands and feet

It looks similar to the subject/observer pattern.  Check Section 5.3 of the
OCaml manual as well as my APPSEM course notes


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: