ghci changing 'm' to 'g'

Olivier Boudry olivier.boudry at gmail.com
Wed Nov 21 13:16:34 EST 2007


On Nov 21, 2007 1:07 PM, Greg Fitzgerald <garious at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071121/f56aaef8/attachment.htm


More information about the Glasgow-haskell-users mailing list