Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] any way to "clear" the toplevel?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-26 (01:16)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] any way to "clear" the toplevel?

>Unfortunately, your solution is only partial: it is almost equivalent
>to quitting and starting a new toplevel (which is my personal solution :-))
>You do not only erase things that have changed, but just everything.
>But it has the advantage of being very simple.

Right, but since I just have my makefile output a "top" file that looks like this now:

#load "blah.cmo";;

It just works for me.  Restarting the toplevel inside emacs was a big pain, not to mention that doing it too many times on Win98 would crash the OS :).  I just have to #use "top";; whenever I change a library.  It's not too bad...the 80/20 rule applies here.  :)

I'm really getting into the toplevel for development.  We'll see how that opinion evolves as my project gets bigger.  


To unsubscribe, mail  Archives: