On Nov 21, 2007 1:07 PM, Greg Fitzgerald <garious@gmail.com> wrote:
Running 6.8.1 on Windows XP, typing 'main' while ":r" is still processing causes the 'm' in 'main' to morph to a 'g'.

> :r
[1 of 2] Compiling Language.QidlTypeLibrary.Parser ( Language/QidlTypeLibrary/Parser.hs, interpreted )
Ok, modules loaded: Main, Language.QidlTypeLibrary.Parser.
> main

<interactive>:1:0: Not in scope: `gain'

Thanks,
Greg


What a weird bug. It sounds like a joke but it isn't one. I just reproduced it (also "works" with :l).

P:\5. Tools\Cleansing\CustomerMaster>ghci
GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :l CustomerMaster.hs
[1 of 1] Compiling Main             ( CustomerMaster.hs, interpreted )
Ok, modules loaded: Main.
*Main> main

<interactive>:1:0: Not in scope: `gain'

I wonder if it's a Windows only bug.

Cheers,

Olivier.