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] limits on mutual recursion and modules?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: William Harold Newman <william.newman@a...>
Subject: Re: [Caml-list] limits on mutual recursion and modules?
On Thu, Nov 22, 2001 at 04:27:24AM +0000, Brian Rogoff wrote:
> On Wed, 21 Nov 2001, William Harold Newman wrote:

> > for mutual recursion between classes and modules in OCaml. That doesn't 
> You mean between classes and types here, of course. 


> You use that same trick. It also means that you must make a polymorphic
> version of Set to participate in the recursion; the library Set won't do. 
> Check this out 

Thank you, that seems to be exactly what I was looking for.

> It's my guess that every frequent user of OCaml or SML bangs into this
> within their first 9 months of serious ML programming, and most likely
> long before that.

It might make a good entry in <>.

William Harold Newman <>
"Furious activity is no substitute for understanding." -- H. H. Williams
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C  B9 25 FB EE E0 C3 E5 7C
Bug reports:  FAQ:
To unsubscribe, mail  Archives: