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

GHC ghc-devs at haskell.org
Wed Jan 13 09:37:43 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 nomeata):

 >  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.

 That might be possible, but such erratic randomness might not give the
 best user experience. Not sure.

 I suggest to first implement this (good idea!) for package imports, and
 when that is done, whoever did it is surely in a good position to assess
 whether it is feasible for other imports as well.

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


More information about the ghc-tickets mailing list