cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 52175124e00b64f40bb9551356b58a8b08d4d0f2b7ec2366fa339ffc53e59081
name: edit-distance-linear
version: 0.2.0.1
synopsis: Efficient implementation Levenshtein distance in linear memory.
description: Please see the README on GitHub at <https://github.com/0xd34df00d/edit-distance-linear#readme>
category: Algorithms
homepage: https://github.com/0xd34df00d/edit-distance-linear#readme
bug-reports: https://github.com/0xd34df00d/edit-distance-linear/issues
author: Georg Rudoy
maintainer: 0xd34df00d@gmail.com
copyright: 2019 Georg Rudoy
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/0xd34df00d/edit-distance-linear
flag llvm
description: Use the LLVM code generator (strongly recommended)
manual: True
default: True
flag with-executable
description: Build the test executable (a fast and dirty way of benchmarking, for the package development only)
manual: True
default: False
library
exposed-modules:
Text.EditDistance.Linear
other-modules:
Paths_edit_distance_linear
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
array
, base >=4.7 && <5
, bytestring
if flag(llvm)
ghc-options: -fllvm
default-language: Haskell2010
executable edit-distance-linear-exe
main-is: Main.hs
other-modules:
Paths_edit_distance_linear
hs-source-dirs:
app
ghc-options: -Wall -threaded -rtsopts
build-depends:
array
, base >=4.7 && <5
, bytestring
, edit-distance-linear
if !(flag(with-executable))
buildable: False
default-language: Haskell2010
test-suite edit-distance-linear-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_edit_distance_linear
hs-source-dirs:
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, array
, base >=4.7 && <5
, bytestring
, edit-distance
, edit-distance-linear
, hspec
default-language: Haskell2010
benchmark edit-distance-linear-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
other-modules:
Paths_edit_distance_linear
hs-source-dirs:
bench
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base >=4.7 && <5
, bytestring
, criterion
, edit-distance-linear
, text
, text-metrics
default-language: Haskell2010