Thread: Re: "ocaml_beginners"::[] question on multiple compilation unit
Re: "ocaml_beginners"::[]
question on multiple compilation unit
United States
2008-01-11 08:49:51
> $ ocamlc -pack -o pack.cmo a.ml b.ml
I had to reverse the order of a.ml and b.ml to get it to compile.
$ ocamlc -pack -o pack.cmo a.ml b.ml
File "a.ml", line 2, characters 26-27:
Unbound module B
$ ocamlc -pack -o pack.cmo b.ml a.ml
[Non-text portions of this message have been removed]