On Thu, Sep 27, 2001 at 10:29:04 +0100, Simon Marlow wrote:
> >   A> :l X                         -- trying non-existing module
> >   can't find module `X'           -- all right
> >   Prelude> :m A
> >   `A' is not currently loaded     -- ?
> >   Prelude>
> 
> The ':load' command begins by unloading all of the existing modules -
> this is specified quite clearly in the documentation.  I think this is
> the right behaviour, because to hold on to them might cause a space
> leak.

Would it be possible to check for the existance of X first, and unload
the modules only iff it actually exists and can be loaded?


Cheers,
M/

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to