Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Poucet <christophe.poucet@p...>
Subject: [Caml-list] Modules
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 = 

(* file *)
module TigerSymbol : TIGERSYMBOL =

When I compile as follows:
ocamlc -c TigerSymbol.mli
ocamlc -c
it complains on the second compile that: Unbound module type TIGERSYMBOL

Any clues why this is so?
Thanking you in advance,
Christophe Poucet