From: "Christophe Poucet" <christophe.poucet@pandora.be>
To: "CAML" <caml-list@inria.fr>
Subject: [Caml-list] Modules
Date: Fri, 9 May 2003 21:45:32 +0200 [thread overview]
Message-ID: <000a01c31663$8d4fdaa0$e50e76d5@j> (raw)
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
Hello,
I hope you don't mind another question from me (still trying my best to learn Ocaml).
I have made a module signature (an .mli) file and module implementation (an .ml) file.
They look sort of like this:
(* TigerSymbol.mli file *)
module type TIGERSYMBOL =
sig
...
end
(* TigerSymbol.ml file *)
module TigerSymbol : TIGERSYMBOL =
struct
...
end
When I compile as follows:
ocamlc -c TigerSymbol.mli
ocamlc -c TigerSymbol.ml
it complains on the second compile that: Unbound module type TIGERSYMBOL
Any clues why this is so?
Thanking you in advance,
Christophe Poucet
[-- Attachment #2: Type: text/html, Size: 1868 bytes --]
next reply other threads:[~2003-05-09 19:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 19:45 Christophe Poucet [this message]
2003-05-09 19:58 ` David Brown
2006-01-31 9:33 modules Brendan Miller
2006-01-31 9:43 ` [Caml-list] modules Yann Coscoy
2009-11-10 8:13 Modules Wouter Swierstra
2009-11-10 8:31 ` [Caml-list] Modules Pierre-Evariste Dagand
2009-11-10 8:39 ` blue storm
2009-11-10 12:25 ` Wouter Swierstra
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='000a01c31663$8d4fdaa0$e50e76d5@j' \
--to=christophe.poucet@pandora.be \
--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