From: Christopher Quinn <cq@htec.demon.co.uk>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Why not 'include' in an .mli file?
Date: Thu, 15 Apr 2004 20:43:29 +0100 [thread overview]
Message-ID: <407EE5E1.6060603@htec.demon.co.uk> (raw)
In-Reply-To: <20040414165252.GB19016@fichte.ai.univie.ac.at>
it strikes me that a cmi file can be thought of as comprising a module
type, and the compiler might be extended to allow for Richard's usage,
which imho is a natural one.
i believe this is in the wish list db from way back and not dismissed
or otherwise classified.
chris
>
> Note that this is a module type, not a module. You could put the
> module type (interface) of "Analysis_p" into the submodule "S" of the
> extra-file "analysis_p_intf.mli". Use it then to restrict the interface
> of "Analysis_p" in "analysis_p.mli", and include it in "analysis.mli"
> using "include Analysis_p_intf.S".
>
> Regards,
> Markus
>
--
thanks.
- chris
-------------------
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
prev parent reply other threads:[~2004-04-15 19:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 16:41 Richard Jones
2004-04-14 16:52 ` Markus Mottl
2004-04-15 19:43 ` Christopher Quinn [this message]
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=407EE5E1.6060603@htec.demon.co.uk \
--to=cq@htec.demon.co.uk \
--cc=caml-list@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