mirror of
https://github.com/runarorama/fuzzyfind.git
synced 2024-09-11 06:35:29 +03:00
Simplify cabal version requirements
This commit is contained in:
parent
8bdde360bb
commit
b606ee5fc6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user