From: Kenneth Knowles <kknowles@berkeley.edu>
To: Shaddin Doghmi <shaddin@mitre.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] including signature (mli) in struct (ml)
Date: Wed, 18 Aug 2004 16:03:58 -0700 [thread overview]
Message-ID: <20040818230358.GA25660@tallman.kefka.frap.net> (raw)
In-Reply-To: <4123DDB3.8010504@mitre.org>
On Wed, Aug 18, 2004 at 06:52:35PM -0400, Shaddin Doghmi wrote:
> this redundancy can be annoying, is there a way to declare Aout only
> once and still be able to refer to it in b.ml ? How about including
> a.mli in a.ml somehow? something along the lines of include in C would
> do it, where including a.h in a.c would make it unnecessary to define
> something in both...
Someone may have a more elegant solution to this, but when I have a bunch of
types that I don't want to have to repeat, I put them in a .ml file without a
corresponding .mli file.
Kenn
-------------------
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-08-18 23:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-18 22:52 Shaddin Doghmi
2004-08-18 23:03 ` Kenneth Knowles [this message]
2004-08-18 23:44 ` brogoff
2004-08-22 22:19 ` Stefano Zacchiroli
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=20040818230358.GA25660@tallman.kefka.frap.net \
--to=kknowles@berkeley.edu \
--cc=caml-list@inria.fr \
--cc=shaddin@mitre.org \
/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