packages feed

bimaps-0.0.0.1: bimaps.cabal

Name:           bimaps
Version:        0.0.0.1
License:        BSD3
License-file:   LICENSE
Author:         Christian Hoener zu Siederdissen
Maintainer:     choener@bioinf.uni-leipzig.de
Copyright:      Christian Hoener zu Siederdissen, 2014 - 2015
Homepage:       http://www.bioinf.uni-leipzig.de/~choener/
Stability:      Experimental
Category:       Data
Build-type:     Simple
Cabal-version:  >= 1.10
tested-with:    GHC == 7.8.4, GHC == 7.10.1
Synopsis:       bijections with multiple implementations.
Description:
                Bijections between sets of values.



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



flag benchmark
  description:  build the benchmark
  default:      False
  manual:       True

flag llvm
  description:  build using LLVM
  default:      False
  manual:       True



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

  -- 4.7.0.0 is ghc 7.8.1; 4.8.0.0 is ghc 7.10.1
  build-depends: base                     >= 4.7      && < 4.9
               , aeson                    == 0.8.*
               , binary                   == 0.7.*
               , cereal                   == 0.4.*
               , containers               == 0.5.*
               , deepseq                  >= 1.3      && < 1.5
               , hashable                 == 1.2.*
               , primitive                >= 0.5      && < 0.7
               , QuickCheck               >= 2.7      && < 2.9
               , storable-tuple           == 0.0.2
               , 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
                    , DeriveGeneric
                    , FlexibleContexts
                    , TypeFamilies
                    , UndecidableInstances



executable BenchmarkBimaps
  if flag(benchmark)
    buildable: True
    build-depends: base
                 , bimaps
                 , criterion   >= 1.0.2   && < 1.1.1
                 , deepseq
                 , mwc-random  == 0.13.*
                 , vector
  else
    buildable: False
  hs-source-dirs:
    src
  main-is:
    Benchmark.hs
  default-language:
    Haskell2010
  default-extensions: BangPatterns
                    , FlexibleContexts
                    , ScopedTypeVariables
                    , TypeFamilies
  ghc-options:
    -O2
    -funbox-strict-fields
    -funfolding-use-threshold1000
    -funfolding-keeness-factor1000
  if flag(llvm)
    ghc-options:
      -fllvm
      -optlo-O3 -optlo-std-compile-opts
      -fllvm-tbaa



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