diff --git a/fuzzyfind.cabal b/fuzzyfind.cabal index 1900487..a324b7b 100644 --- a/fuzzyfind.cabal +++ b/fuzzyfind.cabal @@ -26,7 +26,7 @@ source-repository head library exposed-modules: Text.FuzzyFind other-extensions: DeriveGeneric, OverloadedLists, ScopedTypeVariables, ViewPatterns - build-depends: base >=4.0.0.0, massiv >=0.6.0.0, containers >=0.6.0.0, text >=1.2.0.0 + build-depends: base ==4.*, massiv ==0.6.*, containers ==0.6.*, text ==1.2.* hs-source-dirs: src default-language: Haskell2010 @@ -37,7 +37,7 @@ executable bench other-modules: default-language: Haskell2010 build-depends: - base >=4.0.0.0, - criterion >=1.5.0.0, - deepseq >=1.4.0.0, + base ==4.*, + criterion ==1.5.*, + deepseq ==1.4.*, fuzzyfind diff --git a/src/Text/FuzzyFind.hs b/src/Text/FuzzyFind.hs index 924f10a..29b10b3 100644 --- a/src/Text/FuzzyFind.hs +++ b/src/Text/FuzzyFind.hs @@ -177,7 +177,7 @@ defaultGapPenalty :: Int defaultGapPenalty = 3 -- | We give a bonus to consecutive matching characters. --- A number about the same as the `boundaryBonus` will strongly prefer +-- A number about the same as the boundary bonus will prefer -- runs of consecutive characters vs finding acronyms. defaultConsecutiveBonus :: Int defaultConsecutiveBonus = 11