[Omake] More on ocamldep and generated files.

Jason Hickey jyh at cs.caltech.edu
Wed Jun 14 11:42:31 PDT 2006


Francois Pottier wrote:
> Have you thought about the situation where a module has an .mli file but no
> .ml file?

Weird, this issue has come up before.  From what I thought, that case is 
illegal.  I'm not sure what happens at link time, do you just leave out 
the typed.cmo?

The opposite, having a .ml file but no .mli, is fine.  It is equivalent 
as far as I know (and we use it frequently).

Jason

-- 
Jason Hickey                  http://www.cs.caltech.edu/~jyh
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257


More information about the Omake mailing list