English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] mutually dependent modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-17 (18:33)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] mutually dependent modules

>Let's suppose that we have two mutually dependent modules, a.ml and
>b.ml, i.e. in b.ml there is a call like A.f1() and in a.ml there is a
>call like B.f2(). The question is how to link these modules?

You can't.  Caml doesn't support circular references in modules.  Search 
the list for lots of threads and in-depth discussion on this topic.


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