caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Harrison <John.Harrison@cl.cam.ac.uk>
To: oleg@pobox.com
Cc: caml-list@inria.fr
Subject: Re: Listing toplevel bindings
Date: Wed, 27 Sep 2006 03:46:01 +0100	[thread overview]
Message-ID: <E1GSPRE-0002tK-00@mta1.cl.cam.ac.uk> (raw)
In-Reply-To: Message from oleg@pobox.com  of "Tue, 26 Sep 2006 01:01:20 PDT." <20060926080120.5B3B7AC04@Adric.metnet.fnmoc.navy.mil>


Hi Oleg,

| First, please retrieve the following file
|         http://pobox.com/~oleg/ftp/ML/gprint/gprint_toplevel.ml
| and adjust the paths in the "directory" directives to point to your
| OCaml installation directory. Please run your Ocaml top-level and
| execute all #directory and the #load directives 
| in that file up to, but not including the loading of genprintval.cmo.
| Please do NOT change the order of the load directives! It took about
| half an hour to find the right order....
|
| Next, please enter the code given in the appendix of this message. The
| code will print the signature of the values in the
| existing top-level environment. For example:

Brilliant! I easily adapted it for my actual application, and it works
fine. 

Would a few small changes to the OCaml sources render all that reloading
unnecessary, I wonder?

John.


  reply	other threads:[~2006-09-27  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26  8:01 oleg
2006-09-27  2:46 ` John Harrison [this message]
2006-09-27  2:57   ` [Caml-list] " Jonathan Roewen
  -- strict thread matches above, loose matches on Subject: below --
2006-09-25 22:40 John Harrison

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=E1GSPRE-0002tK-00@mta1.cl.cam.ac.uk \
    --to=john.harrison@cl.cam.ac.uk \
    --cc=caml-list@inria.fr \
    --cc=oleg@pobox.com \
    /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).