Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "John F. Carr" <jfc@mit.edu>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] Trace module load in toplevel?
Date: Fri, 14 Nov 2014 17:46:08 -0500	[thread overview]
Message-ID: <21606.34352.410007.445644@gargle.gargle.HOWL> (raw)
In-Reply-To: <21606.31887.377127.386622@gargle.gargle.HOWL>


Thanks to Daniel Bünzli for pointing out the problem: the .cmi file
was not visible.  I see in the archives this has come up before.
I'm sure I learned it before, but forgot.  I had a different
directory structure than usual tonight.

The toplevel should complain if a #load does not define a module.
I will enter an enhancement request on mantis.

 > 
 > Some modules I'm loading are not visible in the toplevel after #load
 > of the .cmo (or .cma) files defining them.  Is there any way to
 > 
 > 1. Have the toplevel tell me what modules are being defined during #load,
 > 
 > 2. Dump the list of all top level module bindings,
 > 
 > or
 > 
 > 3. Find out what modules the top level would define after loading a file?
 > 
 > I thought ocamlobjinfo would be the answer to (3), but it is not.
 > 
 > 
 > -- 
 > Caml-list mailing list.  Subscription management and archives:
 > https://sympa.inria.fr/sympa/arc/caml-list
 > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
 > Bug reports: http://caml.inria.fr/bin/caml-bugs

  reply	other threads:[~2014-11-14 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 22:05 John F. Carr
2014-11-14 22:46 ` John F. Carr [this message]
2014-11-14 22:52   ` Daniel Bünzli

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=21606.34352.410007.445644@gargle.gargle.HOWL \
    --to=jfc@mit.edu \
    --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