
#9764: Home package modules silently override available modules from package database -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.9 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: GHC | Related Tickets: accepts invalid program | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by ezyang): In GHC 7.10, there will be TWO ways to do the specific use-case you're asking for! The first is the new `-prelude-is` flag #9499, which will let you set Prelude to be a module not named Prelude. The second is package renaming #9375, which means you can include base but rename Prelude to another name BasePrelude. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9764#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler