From: Matthieu Dubuget <matthieu.dubuget@libertysurf.fr>
To: Tim Docker <timothy.docker@macquarie.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Basic question about modules
Date: Tue, 23 Mar 2004 22:12:21 +0100 [thread overview]
Message-ID: <4060A835.3030902@libertysurf.fr> (raw)
In-Reply-To: <7F3CFECC66117548BE71E9D7CD2EFB504349A4@nt_lon_exm01.pc.internal.macquarie.com>
>
> If I want to restrict what gets exported, I have to
> write an x.mli file. Whilst I've written mli files for simple
> types and functions, I'm at a loss as how to write the contents
> of the mli file that corresponds to the one automatically generated
> above (specifically the StringMap bit).
>
When you are ready with your module, the simplest way is to generate the
mli file with
ocamlc -i x.ml > x.mli
and then edit x.mli to restrict the exported parts.
I hope I understood your question and that this will help.
Salutations
Matthieu Dubuget
-------------------
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
next prev parent reply other threads:[~2004-03-23 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-23 20:42 Tim Docker
2004-03-23 21:02 ` Kenneth Knowles
2004-03-23 21:12 ` Matthieu Dubuget [this message]
2004-03-23 21:59 Tim Docker
2004-03-23 22:33 ` Kenneth Knowles
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=4060A835.3030902@libertysurf.fr \
--to=matthieu.dubuget@libertysurf.fr \
--cc=caml-list@inria.fr \
--cc=timothy.docker@macquarie.com \
/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