From: Romain Bardou <Romain.Bardou@lri.fr>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Module abbreviation
Date: Thu, 17 Dec 2009 12:35:32 +0100 [thread overview]
Message-ID: <4B2A1784.2060008@lri.fr> (raw)
In-Reply-To: <4B27C100.1090200@starynkevitch.net>
Basile STARYNKEVITCH wrote:
> 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 ast.ml. Last time I tested (more than a
> year ago) n ast.ml file without corresponding ast.mli file is handled as
> if ast.mli was the output of ocamlc -i ast.ml.
>
> 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
next prev parent reply other threads:[~2009-12-17 11:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 16:39 Romain Bardou
2009-12-15 16:56 ` [Caml-list] " Ashish Agarwal
2009-12-15 23:28 ` David Allsopp
[not found] ` <-5655904566200171061@unknownmsgid>
2009-12-16 3:17 ` Ashish Agarwal
2009-12-15 17:01 ` Basile STARYNKEVITCH
2009-12-17 11:35 ` Romain Bardou [this message]
2009-12-18 6:55 ` Basile STARYNKEVITCH
2009-12-18 12:06 ` Romain Bardou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B2A1784.2060008@lri.fr \
--to=romain.bardou@lri.fr \
--cc=basile@starynkevitch.net \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox