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
Re: Listing toplevel bindings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-09-27 (02:57)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Re: Listing toplevel bindings
> Would a few small changes to the OCaml sources render all that reloading
> unnecessary, I wonder?

It's not the sources :) You should be able to rebuild the toplevel,
and skip the expunge step (grep for expunge in the base makefile) --
it erases compiler modules such that they act is if not present
(though I'm not entirely sure if it erases them completely; my guess
would be it doesn't).

For distribution, you'd need to patch the makefile (not a big change
though), or provide a toplevel that's not expunged.

I believe that'd do it.