forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add typo recommendations, close commercialhaskell#158
This commit introduces typo recommendations and minor refactorings in ‘Stack.Fetch’ module. Currently the recommendations follow very conservative scheme only reporting package names for which Damerau-Levenshtein distance between given package and package name in caches is equal to 1. This should catch all common typos. If desirable, the threshold can be made greater in future, although do it care because it will quickly start to give false positives.
- Loading branch information
Showing
2 changed files
with
70 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters