From: David Teller <David.Teller@ens-lyon.org>
To: David Allsopp <dra-news@metastack.com>
Cc: "'OCaml'" <caml-list@inria.fr>
Subject: RE: [Caml-list] Importing module signatures ?
Date: Thu, 04 Oct 2007 15:02:02 +0200 [thread overview]
Message-ID: <1191502922.6118.50.camel@Blefuscu> (raw)
In-Reply-To: <01e701c80682$29580a90$017ca8c0@countertenor>
On Thu, 2007-10-04 at 13:29 +0100, David Allsopp wrote:
> > It seems that String is the name of the module structure itself rather
> > than its signature. But what is the name of the signature ?
>
> Module String is not constrained by a named signature - you either need to
> copy the interface from string.mli (it'll be in your ocaml lib directory) or
> use ocamlc -i to generate an inferred interface and copy it in (cf. the
> Extlib module ExtList.List). If there is another way, then I'd be fascinated
> to hear it too!
Well, that's what I did. And I'm deeply dissatisfied with copying and
pasting myself.
Cheers,
David
next prev parent reply other threads:[~2007-10-04 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 12:19 David Teller
2007-10-04 12:29 ` [Caml-list] " David Allsopp
2007-10-04 13:02 ` David Teller [this message]
2007-10-04 14:09 ` Chris King
2007-10-04 14:16 ` Daniel Bünzli
2007-10-04 14:39 ` Vincent Aravantinos
2007-10-04 18:42 ` Ashish Agarwal
2007-10-04 21:56 ` Chris King
2007-10-04 18:53 ` Martin Jambon
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=1191502922.6118.50.camel@Blefuscu \
--to=david.teller@ens-lyon.org \
--cc=caml-list@inria.fr \
--cc=dra-news@metastack.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