(it does not work perfectly when reloading precompiled libraries),
That caught me!
Here is sample usage:
(pretty-print 'a)
Unhandled exception:
&undefined
&message: "attempted to use undefined symbol"
&irritants: (pretty-print)
(import (ironscheme pretty-print))
(pretty-print 'a)
a
2
(uninstall-library '(ironscheme pretty-print))
(import (ironscheme pretty-print))
(pretty-print 'a)
mod!!!
a
2
I do notice in the REPL (well in IronScheme at least) the following happens:
(uninstall-library '(ironscheme pretty-print))
(pretty-print 'a)
mod!!!
a
2
Not sure if that is a bug? (maybe there is more to the 'symbol-bound?'
procedure than I saw?)
But in the end it's all great, thanks!
I think this should allow me/us to just repeatedly run top-level programs in
a single 'session', iow without having to restart the program to get changes
applied.
I will do some tests later on the above mentioned.
Cheers
leppie