
#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: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): If the `.hs` file exists, GHC doesn't check for the `.lhs` file. I didn't make that clear. There is no difference between `ghc` and `ghc --make`: `--make` is the default mode. There is a difference between `-c` and `--make`. It would help if you described how you would like this caching mechanism to work, and how it would help with suggesting the correct spelling when a module is not found. Use the example from the description, or a different example if that makes things more clear. Don't worry too much about how GHC currently works; we can get back to that afterwards. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11418#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler