packages feed

tries-0.0.3: tries.cabal

Name:                   tries
Version:                0.0.3
Author:                 Athan Clark <athan.clark@gmail.com>
Maintainer:             Athan Clark <athan.clark@gmail.com>
License:                BSD3
License-File:           LICENSE
Synopsis:               Various trie implementations in Haskell
-- Description:
Cabal-Version:          >= 1.10
Build-Type:             Simple
Category:               Data, Tree

flag Lookup
  Description:          Benchmark the lookup functions
  Default:              False

Library
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  GHC-Options:          -Wall
  Exposed-Modules:      Data.Trie.Class
                        Data.Trie.HashMap
                        Data.Trie.Knuth
                        Data.Trie.List
                        Data.Trie.Map
                        Data.Trie.Pseudo
  Build-Depends:        base >= 4.8 && < 5
                      , bytestring
                      , bytestring-trie
                      , composition
                      , composition-extra >= 2.0.0
                      , containers
                      , deepseq
                      , hashable
                      , keys
--                      , TernaryTrees
                      , rose-trees >= 0.0.2.1
                      , semigroups
                      , sets >= 0.0.5
                      , unordered-containers
                      , QuickCheck
                      , quickcheck-instances

Test-Suite test
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src
                      , test
  Ghc-Options:          -Wall -threaded
  Main-Is:              Spec.hs
  Other-Modules:        Data.TrieSpec
                        Data.Trie.Class
                        Data.Trie.HashMap
                        Data.Trie.Knuth
                        Data.Trie.List
                        Data.Trie.Map
                        Data.Trie.Pseudo
  Build-Depends:        base
                      , bytestring
                      , bytestring-trie
                      , composition
                      , composition-extra
                      , deepseq
--                      , TernaryTrees
                      , containers
                      , hashable
                      , keys
                      , mtl
                      , rose-trees
                      , sets
                      , semigroups
                      , tries
                      , tasty
                      , tasty-quickcheck
                      , unordered-containers
                      , QuickCheck
                      , quickcheck-instances


Benchmark bench
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src
                      , bench
  Ghc-Options:          -Wall -threaded
  Main-Is:              Bench.hs
  Other-Modules:        Data.Trie.Class
                        Data.Trie.HashMap
                        Data.Trie.Knuth
                        Data.Trie.List
                        Data.Trie.Map
                        Data.Trie.Pseudo
                        Build
  Build-Depends:        base
                      , bytestring
                      , bytestring-trie
                      , composition
                      , composition-extra
                      , containers
                      , deepseq
--                      , TernaryTrees
                      , hashable
                      , keys
                      , mtl
                      , rose-trees
                      , semigroups
                      , sets
                      , tries
                      , unordered-containers
                      , QuickCheck
                      , quickcheck-instances
                      , criterion

Benchmark bench-lookup
  if flag(Lookup)
    Buildable: True
  else
    Buildable: False
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src
                      , bench
  Ghc-Options:          -Wall -threaded
  Main-Is:              BenchLookup.hs
  Other-Modules:        Data.Trie.Class
                        Data.Trie.HashMap
                        Data.Trie.Knuth
                        Data.Trie.List
                        Data.Trie.Map
                        Data.Trie.Pseudo
                        Build
  Build-Depends:        base
                      , bytestring
                      , bytestring-trie
                      , composition
                      , composition-extra
                      , containers
                      , deepseq
--                      , TernaryTrees
                      , hashable
                      , keys
                      , mtl
                      , rose-trees
                      , semigroups
                      , sets
                      , tries
                      , unordered-containers
                      , QuickCheck
                      , quickcheck-instances
                      , criterion

Source-Repository head
  Type:                 git
  Location:             https://github.com/athanclark/tries.git