Implement fuzzy matching for the Finder
authorsimonpj@microsoft.com <unknown>
Wed, 22 Dec 2010 17:54:00 +0000 (17:54 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 22 Dec 2010 17:54:00 +0000 (17:54 +0000)
commitf14f1daa67546643b49902c56829d13ec641f21c
tree8828b4c87f580bc4ac0b78f927e981134f47646c
parent820ddd55446773b33c797267bcad9e09a621ab2b
Implement fuzzy matching for the Finder

..so that you get a more helpful message when
you mis-spell a module name in an 'import'.

Validates, but not fully tested.

Based on Max's patch in Trac #2442, but heavily refactored.
compiler/main/Finder.lhs
compiler/main/HeaderInfo.hs
compiler/main/HscTypes.lhs
compiler/main/Packages.lhs