From: Chris Hecker <checker@d6.com>
To: caml-list@inria.fr
Cc: checker@d6.com
Subject: [Caml-list] any way to "clear" the toplevel?
Date: Wed, 25 Apr 2001 13:35:09 -0700 [thread overview]
Message-ID: <200104252035.NAA17326@smtp4-cm.mail.eni.net> (raw)
I'm working on a multimodule project, and I use the toplevel a lot. I
have my makefile output a file from the list of bytecode objects
(the file's named "top") which looks like this:
#load "math2d.cmo";;
#load "pointers.cmo";;
#load "ccd.cmo";;
#load "armparse.cmo";;
Then, when I load the toplevel, I type #use "top";; and voila, my
project's in the toplevel. When I edit the main file and exec it in
the toplevel, it uses the modules above just fine.
The problem is, if I edit any of the files loaded, and then try to
#use "top";; again, I get
File armparse.cmo is not up-to-date with respect to interface Armparse
And my new stuff doesn't load. Is there anything I can do about this?
The optimal solution would be to be able to flush a specific interface
and reload it (I tried #load "foo.cmi";; but it errors), but it'd be
acceptable to simply reinit the toplevel as well. I currently have
to kill the process and start it over.
Am I missing something?
Chris
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next reply other threads:[~2001-04-25 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-25 20:35 Chris Hecker [this message]
2001-04-25 23:56 ` Chris Hecker
2001-04-26 1:05 ` Jacques Garrigue
2001-04-26 1:18 ` Chris Hecker
2001-04-26 12:46 ` Marcin 'Qrczak' Kowalczyk
2001-04-27 0:50 ` Jacques Garrigue
2001-04-27 4:03 ` Marcin 'Qrczak' Kowalczyk
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=200104252035.NAA17326@smtp4-cm.mail.eni.net \
--to=checker@d6.com \
--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).