English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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.