Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Modules Order
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warp <warplayer@f...>
Subject: Re: [Caml-list] Modules Order
> Does this seem reasonable?
>
> Only put a link in the graph when the dependency is dynamic
> (ie not on types), and build all the cmi files first, so
> that they are available when compiling to cmos.
> Just crash when this graph has a cycle.
>
> I think it's not that difficult, because I did something
> similar for a prototype type-checker for my mixins.
>
> But this supposes to change the way Makefiles are built I guess.
>
> What are your plans about that?

The problem here is that we don't know if we're using either only types or
functions from the other module.
The purpose of that is to enable automatic compilation of one project
composed of many files.

Nicolas Cannasse

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