* [Caml-list] Including contents in ocamlc -pack?
@ 2012-07-09 9:32 Dan Bensen
0 siblings, 0 replies; only message in thread
From: Dan Bensen @ 2012-07-09 9:32 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
Is there some theoretical reason why ocamlc -pack couldn't
optionally include the contents of a module directly in
the main module instead of adding a submodule?
It would be nice to be able to write something like this:
> ocamlc -pack -o foo.cmo bar.cmo -include gak.cmo
and have the contents of Gak included in Foo as though
there were a line in foo.ml that said "include Gak".
Bar would still be added as a submodule of Foo.
[-- Attachment #2: Type: text/html, Size: 685 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-09 9:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09 9:32 [Caml-list] Including contents in ocamlc -pack? Dan Bensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox