scope change

S.D.Mechveliani mechvel at math.botik.ru
Thu Jun 21 06:46:14 EDT 2001


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.

-----------------
Serge Mechveliani
mechvel at botik.ru
















More information about the Glasgow-haskell-bugs mailing list