packages feed

string-similarity-0.1.0.0: string-similarity.cabal

-- Initial string-similarity.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                string-similarity
version:             0.1.0.0
synopsis:            longest common substring
description:         algorithms for finding the longest common substring in a set of documents
homepage:            http://github.com/mwotton/string-similarity
license:             BSD3
license-file:        LICENSE
author:              Mark Wotton
maintainer:          mwotton@gmail.com
category:            Data
build-type:          Simple
cabal-version:       >=1.8

source-repository head
  type: git
  location: https://github.com/mwotton/string-similarity.git


library
  exposed-modules:  Data.List.CommonSubstring,
                    Data.List.SlowSubstring
  -- other-modules:
  ghc-options: -O2
  build-depends:       base >= 4 && <= 5,
                       suffixtree

test-suite tests
  type:            exitcode-stdio-1.0
  ghc-options:     -Wall
  hs-source-dirs:  test/
  main-is:         Spec.hs
  build-depends:   base >= 4 && <= 5
                   , hspec
                   , QuickCheck
                   , bytestring
                   , string-similarity

benchmark bench-lcs
  type:             exitcode-stdio-1.0
  hs-source-dirs:   bench
  main-is:          BenchAll.hs
  build-depends:    base,
                    criterion,
                    string-similarity
  ghc-options:      -O2
                    -fmax-simplifier-iterations=10
                    -fdicts-cheap
                    -fspec-constr-count=6