From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA30565; Fri, 9 May 2003 21:45:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA29681 for ; Fri, 9 May 2003 21:45:45 +0200 (MET DST) Received: from tartarus.telenet-ops.be (tartarus.telenet-ops.be [195.130.132.46]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h49JjjT29354 for ; Fri, 9 May 2003 21:45:45 +0200 (MET DST) Received: from localhost (localhost.localdomain [127.0.0.1]) by tartarus.telenet-ops.be (Postfix) with SMTP id B8EA7DB9A4 for ; Fri, 9 May 2003 21:45:42 +0200 (CEST) Received: from j (D5760EE5.kabel.telenet.be [213.118.14.229]) by tartarus.telenet-ops.be (Postfix) with SMTP id 9A355DB9F0 for ; Fri, 9 May 2003 21:45:42 +0200 (CEST) Message-ID: <000a01c31663$8d4fdaa0$e50e76d5@j> From: "Christophe Poucet" To: "CAML" Subject: [Caml-list] Modules Date: Fri, 9 May 2003 21:45:32 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C31674.50BD3360" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam: no; 0.00; mli:01 struct:01 ocamlc:01 christophe:01 ocaml:01 sig:01 compile:02 modules:02 unbound:02 module:03 clues:04 arial:95 complains:04 U11:94 type:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C31674.50BD3360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D=20 sig ... end (* TigerSymbol.ml file *) module TigerSymbol : TIGERSYMBOL =3D 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 ------=_NextPart_000_0007_01C31674.50BD3360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I hope you don't mind another question = from me=20 (still trying my best to learn Ocaml).
I have made a module signature (an = .mli) file and=20 module implementation (an .ml) file.
 
They look sort of like = this:
(* TigerSymbol.mli file *)
module type TIGERSYMBOL =3D =
sig
...
end
 
(* TigerSymbol.ml file *)
module TigerSymbol : TIGERSYMBOL=20 =3D
struct
...
end
 
When I compile as follows:
ocamlc -c TigerSymbol.mli
ocamlc -c TigerSymbol.ml
it complains on the second compile = that: Unbound=20 module type TIGERSYMBOL
 
Any clues why this is so?
Thanking you in advance,
Christophe = Poucet
------=_NextPart_000_0007_01C31674.50BD3360-- ------------------- 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