Re: [Caml-list] Linking mutually dependent modules for fun

2009-10-19 Thread Goswin von Brederlow
"Damien Guichard" writes: > Hi Dawid, > >   > > Have you ever considered recursive modules ? > > [[http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc75]] The problem there is that that places everything in one file. >> The following is what I got when studying OCaml's linking issues:

Re: [Caml-list] Linking mutually dependent modules for fun

2009-10-16 Thread Damien Guichard
Hi Dawid, Have you ever considered recursive modules ? http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc75 - damien En réponse au message de : Dawid Toton du : 2009-10-16 09:51:57 À : caml-list@yquem.inria.fr CC : Sujet : [Caml-list] Linking mutually dependent modules for fun

[Caml-list] Linking mutually dependent modules for fun

2009-10-16 Thread Dawid Toton
I often get into trouble of cyclic dependencies when writing in OCaml. Perhaps, I'm still not enough mentally shifted from poor languages (for which circular design is quite natural). Of course OCaml has many tools to deal with this: functors (which, once introduced, spread like a disease), type