Skip to content

ghci 6.5 (HEAD) starts with wrong module in scope

If I load "Foo.hs", I'd expect GHCi to end up using Module Foo as scope, not one of its imports:

> ghci -fglasgow-exts LTL.hs
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.5, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
[1 of 2] Compiling Clause           ( Clause.hs, interpreted )
[2 of 2] Compiling LTL              ( LTL.hs, interpreted )
Ok, modules loaded: Clause, LTL.
*Clause>

^^^ should be LTL. (GHCi as of 2005-12-22)

Edited by Simon Marlow
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information