ghci can't load local Prelude module
I have a Prelude.hs
file which contains
module Prelude
where
If I invoke ghci
from the same directory, I get
Top level:
attempting to use module ‘Prelude’ (./Prelude.hs) which is not loaded
Note: ghc --make
correctly compiles modules that use the local Prelude.hs
, so I expect ghci
to handle that case too.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |