Hi
When I try to use a module (in this case the module is from
ocamlgraph) using its full 'path' name I get a syntax error.
Eg:
module G = Imperative.Digraph.AbstractLabeled(IntInt)(Int)
let () =
let g = Imperative.Digraph.AbstractLabeled(IntInt)(Int).create () in
()
[sashan
localhost search]$ ocamlfind ocamlopt -package ocamlgraph,str
-linkpkg -o keyword keyword.ml
File "keyword.ml", line 42, characters 54-55:
Syntax error
[sashan
localhost search]$
However if I do this:
module G = Imperative.Digraph.AbstractLabeled(IntInt)(Int)
let () =
let g = G.create () in
()
It compiles fine. Why is this?
--
sashan
http://sashang.orcon.net.nz/