
30 Apr
2002
30 Apr
'02
6:39 a.m.
Simon Marlow writes
:load with no arguments will unload all the currently loaded modules and bindings.
(so, the values go to garbage, and memory will be recovered?)
All the memory will be recovered except for object files (it turns out to be difficult to do this safely, so we just didn't tackle it).
Thank you. `:?' command of ghci does not tell this about :load I wonder whether it is explained in GHC Manual.
Well, it's just a degenerate case of the :load command when the list of modules to load is empty. The manual doesn't mention this use explicitly, but I'll add a note to it. Cheers, Simon