packages feed

storablevector-0.1.2: storablevector.cabal

Name:                storablevector
Version:             0.1.2
Category:            Data
Synopsis:            Fast, packed, strict storable arrays with a list interface like ByteString
Description:
    Fast, packed, strict storable arrays with a list interface.
    This is much like bytestring but can be used for every Storable type.
License:             BSD3
License-file:        LICENSE
Author:              Spencer Janssen <sjanssen@cse.unl.edu>
Maintainer:          Henning Thielemann <storablevector@henning-thielemann.de>
Homepage:            http://darcs.haskell.org/storablevector
Package-URL:         http://code.haskell.org/~sjanssen/storablevector
Build-Depends:       base
Build-Type:          Simple
Tested-With:         GHC==6.4.1, GHC==6.8.2
Cabal-Version:       >=1.2


Flag splitBase
  description: Choose the new smaller, split-up base package.

Library
  If flag(splitBase)
    Build-Depends: base >= 3
  Else
    Build-Depends: base >= 1.0 && < 2

  Extensions:          CPP, ForeignFunctionInterface
  GHC-Options:         -Wall -funbox-strict-fields
  CPP-Options:         -DSLOW_FOREIGN_PTR

  Exposed-modules:
    Data.StorableVector
    Data.StorableVector.Base


Executable test
  GHC-Options:         -Wall -funbox-strict-fields
  CPP-Options:         -DSLOW_FOREIGN_PTR
  Main-Is:             tests.hs
  Other-Modules:       QuickCheckUtils, Instances
  Build-Depends:       bytestring >= 0.9 && < 0.10, QuickCheck >= 1 && < 2
  Extensions:          CPP, ForeignFunctionInterface
  If flag(splitBase)
    Hs-Source-Dirs:      ., tests, tests-2
    Build-Depends:     base >= 3, random >= 1.0 && < 1.1
  Else
    Hs-Source-Dirs:      ., tests, tests-1
    Build-Depends:     base >= 1.0 && < 2