[GHC] #11418: Suggest correct spelling when module is not found because of typo

GHC ghc-devs at haskell.org
Sun Jan 17 20:25:58 UTC 2016


#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 syd):

 Replying to [comment:10 thomie]:
 > > compared to looking at the modules already compiled
 >
 > I don't understand. What are these "modules already compiled", in your
 example from the description.

 As said above:

 > Is there not some sort of cache of previously found modules that we can
 check? That won't be able to correct every typo but at least every typo
 for modules that have been compiled already.

 I didn't really get an answer then.
 If there is no such cache, then looking into the directories shouldn't be
 a problem because that would mean that GHC does that for every import.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11418#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list