caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] any way to "clear" the toplevel?
@ 2001-04-25 20:35 Chris Hecker
  2001-04-25 23:56 ` Chris Hecker
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Hecker @ 2001-04-25 20:35 UTC (permalink / raw)
  To: caml-list; +Cc: checker


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-04-27  7:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-25 20:35 [Caml-list] any way to "clear" the toplevel? Chris Hecker
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

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).