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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Romain Bardou <Romain.Bardou@l...>
Subject: Re: [Caml-list] Module abbreviation
> Romain Bardou wrote:
>> Hello, dear Caml-list,
>> I have a file ast.mli. It has no .ml implementation as it contains only
>> type definitions.
> Then you should name that file Last time I tested (more than a
> year ago) n file without corresponding ast.mli file is handled as
> if ast.mli was the output of ocamlc -i
> Regards

Yes, this seems to be the easiest way. It's too bad that this implies
having a .cmo to link against just for some type definitions, though.

Thanks again,

Romain Bardou