How do you include module Bar inside module Foo
so you can load Foo as a Dynlink plugin (for camlp4)?
I tried adding a line in Foo.ml that says
> module Bar = struct include Bar end
but camlp4 still didn't like it:
> Camlp4: Uncaught exception: DynLoader.Error
> ("Foo.cmo", "error while linking Foo.cmo.
> Reference to undefined global `Bar'")
And of course just adding Bar to Foo.cma
didn't work either.