> ghci-5.00.2   (binary distribution for linux, i386-unknown)
> 
> changes unexpectedly the scope.
> This looks like this:
>                     ghci Foo
>                     Foo> f
>                     1
>                     Foo> 0.1 * 0.2 :: Double
>                     2.0000000000000004e-2
>                     Foo> :l Foo
>                     ...
>                     Foo> 0.1 * 0.2 :: Double
>                     
>                     ... unknown value `*'
> 
>                     Foo> :m Prelude
>                     ...
>                     Prelude> 0.1 * 0.2 :: Double
>                     2.0000000000000004e-2
> 
> But the behavior changes, and I cannot always reproduce the effect.

Is this perhaps because Foo was being interpreted the first time, but
the ':l' caused it to load the compiled version? (BTW, next time, could
you send an unedited transcript of the full session please?)

I'm not sure why this might happen, unless you were compiling the object
in the background, or something screwy was happening with the time on
your NFS server.

Cheers,
        Simon

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

Reply via email to