> Is this a bug in  ghc-5.02-linux-i386-unknown  
> ?
> A.hs  contains    module A where a = True
> 
>   ghci
>   ...
>   Prelude> :l A   
>       Source file changed or recompilation check turned off
>   Compiling A                ( A.hs, interpreted )
>   ...
>   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.

Cheers,
        Simon

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

Reply via email to