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

Xavier Leroy has promised 
a separate command line option to generate .mli's without compiling,
but I don't see it yet.

-- Manos

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