bv-0.4.1: bv.cabal
Name: bv
Version: 0.4.1
Synopsis: Bit-vector arithmetic library
Description: Bit-vectors implemented as a thin wrapper over integers.
Homepage: https://github.com/iagoabal/haskell-bv
Bug-reports: https://github.com/iagoabal/haskell-bv/issues
License: BSD3
License-file: LICENSE
Author: Iago Abal <mail@iagoabal.eu>
Maintainer: Iago Abal <mail@iagoabal.eu>
Copyright: 2012-2016 Iago Abal
Category: Data, Bit Vectors
Build-type: Simple
Cabal-version: >=1.6
Extra-source-files: README.md CHANGES.md
source-repository head
type: git
location: https://github.com/iagoabal/haskell-bv.git
Flag gmp
Description: Using Integer GMP backend.
Default: True
Flag test
Description: Build the test suite, and an executable to run it.
Default: False
Manual: True
Flag check-bounds
Description: Bounds checking.
Default: True
Manual: True
Flag dev
Description: Development options.
Default: False
Manual: True
Library
Exposed-modules: Data.BitVector
-- Other-modules:
Hs-Source-Dirs: src
if flag(check-bounds)
cpp-options: -DCHECK_BOUNDS
ghc-options: -Wall -O2
if flag(dev)
ghc-options: -Werror
Extensions: CPP
Other-Extensions: BangPatterns, DeriveDataTypeable, MagicHash
Build-depends: base >=4.6 && <5
if impl(ghc) && flag(gmp)
Build-depends: integer-gmp, ghc-prim
Executable bv-tester
if flag(test)
Buildable: True
Build-depends: base >=4.6 && <5,
QuickCheck >=2.4 && < 2.7,
test-framework-quickcheck2 ==0.3.*,
test-framework-th ==0.2.*
else
Buildable: False
Main-Is: Properties.hs
Hs-Source-Dirs: src, test
ghc-options: -Wall
if flag(dev)
ghc-options: -Werror
Extensions: CPP
Other-Extensions: BangPatterns, DeriveDataTypeable, MagicHash