ghci changing 'm' to 'g'

Stefan O'Rear stefanor at cox.net
Wed Nov 21 14:53:05 EST 2007


On Wed, Nov 21, 2007 at 01:16:34PM -0500, Olivier Boudry wrote:
> 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.

It's very old.  http://hackage.haskell.org/trac/ghc/ticket/831

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071121/a95708cc/attachment.bin


More information about the Glasgow-haskell-users mailing list