
Replying to [comment:24 syd]:
For the record, I created the wiki page: https://ghc.haskell.org/trac/ghc/wiki/Proposal/HelpfulImportError
Just to clarify, this feature is only relevant to `ghc --make` (and
#11418: Suggest correct spelling when module is not found because of typo -------------------------------------+------------------------------------- Reporter: syd | Owner: Type: feature request | Status: new Priority: lowest | Milestone: Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by syd): Replying to [comment:25 hvr]: therefore may not benefit future cabal versions, as there's a chance that cabal will move away from using `ghc --make` altogether)? The mapping suggestion is only relevant to `ghc --make`, yes. If cabal moves away from using `ghc --make`, then that becomes cabal's responsibility. The import typo warning will stay relevant either way, but it may be implemented by using cabal's `exposed-modules` or `other- modules` instead. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11418#comment:26 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler