"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:
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
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