packages feed

bimaps-0.1.0.2: bimaps.cabal

Name:           bimaps
Version:        0.1.0.2
License:        BSD3
License-file:   LICENSE
Author:         Christian Hoener zu Siederdissen
Maintainer:     choener@bioinf.uni-leipzig.de
Copyright:      Christian Hoener zu Siederdissen, 2014 - 2016
homepage:       https://github.com/choener/bimaps
bug-reports:    https://github.com/choener/bimaps/issues
Stability:      Experimental
Category:       Data
Build-type:     Simple
Cabal-version:  >= 1.10
tested-with:    GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
Synopsis:       bijections with multiple implementations.
Description:
                Bijections between sets of values.



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



library
  exposed-modules:
    Data.Bijection.Class
    Data.Bijection.HashMap
    Data.Bijection.Map
    Data.Bijection.Vector
    Data.Bijection.Vector.Unboxed
    Data.Bijection.Vector.Storable

  build-depends: base                     >= 4.7      &&  < 5.0
               , aeson                    >= 0.8
               , binary                   >= 0.7
               , cereal                   >= 0.4
               , cereal-vector            >= 0.2
               , containers               >= 0.5
               , deepseq                  >= 1.3
               , hashable                 >= 1.2
               , primitive                >= 0.5
               , storable-tuple           >= 0.0.3
               , unordered-containers     >= 0.2.5
               , vector                   >= 0.10
               , vector-binary-instances  >= 0.2
               , vector-th-unbox          >= 0.2
  ghc-options:
    -O2
    -funbox-strict-fields
  default-language:
    Haskell2010
  default-extensions: BangPatterns
                    , ConstraintKinds
                    , DeriveGeneric
                    , FlexibleContexts
                    , TupleSections
                    , TypeFamilies
                    , UndecidableInstances



benchmark BenchmarkBimaps
  build-depends: base
               , bimaps
               , containers
               , criterion            >= 1.0.2
               , deepseq
               , mwc-random           >= 0.13
               , unordered-containers
               , vector
  hs-source-dirs:
    tests
  main-is:
    Benchmark.hs
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  default-extensions: BangPatterns
                    , FlexibleContexts
                    , ScopedTypeVariables
                    , TypeFamilies
  ghc-options:
    -O2
    -funbox-strict-fields
    -funfolding-use-threshold1000
    -funfolding-keeness-factor1000



test-suite properties
  type:
    exitcode-stdio-1.0
  main-is:
    properties.hs
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:
    tests
  default-language:
    Haskell2010
  default-extensions: BangPatterns
                    , ScopedTypeVariables
                    , TemplateHaskell
                    , TypeFamilies
  build-depends: base
               , bimaps
               , QuickCheck                   >= 2.7
               , tasty                        >= 0.11
               , tasty-quickcheck             >= 0.8
               , tasty-th                     >= 0.1



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