levenshtein-0.2.0.0: levenshtein.cabal
name: levenshtein
version: 0.2.0.0
synopsis: Calculate the edit distance between two foldables.
description:
A package to determine the edit distance between two 'Foldable's.
These are converted to lists, and the Levenshtein distance determine
how many additions, removals and changes are necessary to change
the first list into the second list.
homepage: https://github.com/hapytex/levenshtein#readme
license: BSD3
license-file: LICENSE
author: Willem Van Onsem
maintainer: hapytexteu+gh@gmail.com
copyright: 2021 Willem Van Onsem
category: tools
build-type: Simple
extra-source-files:
README.md
, CHANGELOG.md
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules:
Data.Foldable.Levenshtein
build-depends:
base >= 4.7 && < 5
, binary >= 0.2
, hashable >=1.2.7.0
, deepseq >=1.4.3.0
, data-default-class >=0.0.1
, QuickCheck
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/hapytex/levenshtein
test-suite steinlevenh
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
Data.Foldable.LevenshteinSpec
build-depends:
base
, levenshtein
, data-default-class >=0.0.1
, hspec ==2.*
, QuickCheck >=2.13
build-tool-depends:
hspec-discover:hspec-discover == 2.*
default-language: Haskell2010
default-extensions:
BlockArguments
, OverloadedStrings
ghc-options: -Wall -Wcompat -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
benchmark damerau
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: levenshtein-bench.hs
hs-source-dirs: bench
ghc-options: -Wall -threaded
-- dependencies from library
build-depends:
base
, deepseq
, levenshtein
, criterion >=0.4.0.0