Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Automatic generation of mli files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Manos Renieris <er@c...>
Subject: Re: [Caml-list] Automatic generation of mli files
On Fri, Jun 06, 2003 at 12:21:17PM -0700, Chris Hecker wrote:
> 
> And, for having mlis around for decoupling for build dependencies (as 
> opposed to having them for interface design, where you care about what's 
> exported), ocaml -i > foo.mli works just fine.

At least under unix, it does not.
The shell creates foo.mli before the compilation starts; ocamlc sees 
that and believes a .cmi should exist; but it doesn't; so compilation 
aborts.

Xavier Leroy has promised 
(http://caml.inria.fr/archives/200302/msg00078.html)
a separate command line option to generate .mli's without compiling,
but I don't see it yet.

-- Manos

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