List Info

Thread: Re: "ocaml_beginners"::[] question on multiple compilation unit




Re: "ocaml_beginners"::[] question on multiple compilation unit
country flaguser name
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]

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )