caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dan Bensen <danbensen@att.net>
To: caml-list@inria.fr
Subject: [Caml-list] Including contents in ocamlc -pack?
Date: Mon, 9 Jul 2012 02:32:55 -0700 (PDT)	[thread overview]
Message-ID: <1341826375.93191.YahooMailRC@web180015.mail.gq1.yahoo.com> (raw)

[-- 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 --]

                 reply	other threads:[~2012-07-09  9:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341826375.93191.YahooMailRC@web180015.mail.gq1.yahoo.com \
    --to=danbensen@att.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).