ghci + ./IO.hs == pain
1. create a file called IO.hs in the current directory,
containing:
module IO
where
2. run ghci. it produces the following error message:
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version
5.00.2, For Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package std ... linking ... done.
<no file>:0:
failed to load interface for `IO': Module `IO' is
not loaded
<no file>:0: Variable not in scope: `IO.hFlush'
ghc-5.00.2: panic! (the `impossible' happened, GHC
version 5.00.2):
interactiveUI:stderr
----
i guess the implication is that standard modules should
be somehow privileged.
regards,
peter (peteg@cse.unsw.edu.au)
Trac metadata
Trac field | Value |
---|---|
Version | 5.0 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | None |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |