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] Cross Modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <tews@t...>
Subject: Re: [Caml-list] Cross Modules
Warp writes:
   Date: Tue, 16 Apr 2002 13:21:27 +0200
   Subject: [Caml-list] Cross Modules
   But if for example A call a function of B which returns a type declared in A
   interface, then you have to call "ocamlc b.cmo a.cmo" and it'll works.
See problem report #562 for a related issue (at;expression=tews;user=guest).

I think the moral is that you should accept ocamldep's output as
official. If you get

   a.cmo : b.cmi
   b.cmo : a.cmi
then the modules are circular and you should raise an error.


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