allow full import syntax in GHCi
for example, GHCi currently allows "import Data.Map
" but not "import Data.Map as Map
" or (to demonstrate a fuller range of import syntax) "import qualified Prelude as P hiding (mplus)
". (In GHCi, you'd probably only be interested in hiding/qualifying something like Data.Map that made it harder for you to use Prelude functions due to actual ambiguity -- or vice versa)
see http://article.gmane.org/gmane.comp.lang.haskell.cafe/41272
(P.S. I would also like everything in a module, such as data
declarations, to work in GHCi also, but I suspect that's a more complicated feature request?)
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |