Cabal-version:  2.2
Name:           DPutils
Version:        0.1.0.0
License:        BSD-3-Clause
License-file:   LICENSE
Maintainer:     choener@bioinf.uni-leipzig.de
author:         Christian Hoener zu Siederdissen, 2016-2019
copyright:      Christian Hoener zu Siederdissen, 2016-2019
homepage:       https://github.com/choener/DPutils
bug-reports:    https://github.com/choener/DPutils/issues
Stability:      Experimental
Category:       Data
Build-type:     Simple
tested-with:    GHC == 8.4.4
Synopsis:       utilities for DP
Description:
                Small set of utility functions, as well as the base types for
                generic backtracing.
                .



extra-source-files:
  README.md
  changelog.md



common deps
  build-depends: base                 >= 4.7    &&  < 5.0
               , attoparsec           >= 0.13
               , bytestring
               , containers
               , criterion            >= 1.1
               , kan-extensions       >= 4.0
               , lens                 >= 4.0
               , mtl
               , parallel             >= 3.0
               , pipes                >= 4.0
               , pipes-bytestring     >= 2.0
               , pipes-parse          >= 3.0
               , primitive            >= 0.6
               , QuickCheck           >= 2.7
               , streaming            >= 0.1
               , streaming-bytestring >= 0.1
               , stringsearch         >= 0.3
               , smallcheck           >= 1.1
               , tasty                >= 0.11
               , tasty-quickcheck     >= 0.8
               , tasty-smallcheck     >= 0.8
               , tasty-th             >= 0.1
               , transformers         >= 0.5
               , vector               >= 0.10
  default-extensions: BangPatterns
                    , CPP
                    , DeriveGeneric
                    , DeriveFunctor
                    , DeriveFoldable
                    , DeriveTraversable
                    , FlexibleContexts
                    , FlexibleInstances
                    , GADTs
                    , LambdaCase
                    , MultiParamTypeClasses
                    , RankNTypes
                    , ScopedTypeVariables
                    , TemplateHaskell
                    , TypeApplications
                    , TypeFamilies
                    , UndecidableInstances
                    , UnicodeSyntax
  default-language:
    Haskell2010
  ghc-options:
    -O2
    -funbox-strict-fields


Library
  import: deps
  Exposed-modules:
    Data.Attoparsec.ByteString.Streaming
    Data.ByteString.Streaming.Split
    Data.Char.Util
    Data.Paired.Common
    Data.Paired.Foldable
    Data.Paired.Vector
    Data.Vector.Generic.Unstream
    DP.Backtraced.Core
    Math.TriangularNumbers
    Pipes.Parallel
    Pipes.Split.ByteString
    Streaming.Primitive



test-suite properties
  import:
    deps
  build-depends:
    DPutils
  type:
    exitcode-stdio-1.0
  main-is:
    properties.hs
  other-modules:
    QuickCheck
    SmallCheck
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:
    tests



benchmark benchmark
  import: deps
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    benchmark.hs



benchmark streaming
  import: deps
  type:
    exitcode-stdio-1.0
  build-depends: timeit               >= 2.0
  hs-source-dirs:
    tests
  main-is:
    streaming.hs
  default-language:
    Haskell2010
  ghc-options:
    -O2 -rtsopts "-with-rtsopts=-K10M -M10M"



source-repository head
  type: git
  location: git://github.com/choener/DPutils