Simplify cabal version requirements

This commit is contained in:
Rúnar 2021-04-13 14:38:11 -04:00
parent 8bdde360bb
commit b606ee5fc6
2 changed files with 5 additions and 5 deletions

View File

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

View File

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