--- In ocaml_beginners%40yahoogroups.com">ocaml_beginners
yahoogroups.com, "Jonathan Roewen" <jonathan.roewen
...>
wrote:
>
> For a toplevel, it can't manipulate functions in a .cmo without the
> corresponding .cmi file being accessible in the path.
>
> Since the toplevel needs type information, it needs the cmi. I'm not
> currently aware of any way around that limitation.
>
I'm not quite sure I understand what you mean : in my example
the "Special_dir" subdirectory contains not only MyMod.cmo, but
also MyMod.cmi and MyMod.ml (of course, they were all generated
from MyMod.ml with ocamlc -c, which had no trouble with
different directories). Do you mean that MyMod.cmi should be moved
from Special_dir/ to / for the toplevel to work properly ?
Ewan
.