vector-0.5: vector.cabal
Name: vector
Version: 0.5
License: BSD3
License-File: LICENSE
Author: Roman Leshchinskiy <rl@cse.unsw.edu.au>
Maintainer: Roman Leshchinskiy <rl@cse.unsw.edu.au>
Copyright: (c) Roman Leshchinskiy 2008-2010
Homepage: http://code.haskell.org/vector
Category: Data, Data Structures
Synopsis: Efficient Arrays
Description:
.
An efficient implementation of Int-indexed arrays with a powerful loop
fusion framework.
.
It is structured as follows:
.
[@Data.Vector@] Boxed vectors of arbitrary types.
.
[@Data.Vector.Unboxed@] Unboxed vectors with an adaptive
representation based on data type families.
.
[@Data.Vector.Storable@] Unboxed vectors of 'Storable' types.
.
[@Data.Vector.Primitive@] Unboxed vectors of primitive types as
defined by the @primitive@ package. @Data.Vector.Unboxed@ is more
flexible at no performance cost.
.
[@Data.Vector.Generic@] Generic interface to the vector types.
.
Changes since version 0.4.2
.
* Unboxed vectors of primitive types and tuples
.
* Redesigned interface between mutable and immutable vectors (now
with the popular @unsafeFreeze@ primitive)
.
* Many new combinators
.
* Significant performance improvements
.
Cabal-Version: >= 1.2
Build-Type: Simple
Extra-Source-Files:
tests/vector-tests.cabal
tests/LICENSE
tests/Setup.hs
tests/Main.hs
tests/Boilerplater.hs
tests/Utilities.hs
tests/Tests/Stream.hs
tests/Tests/Vector.hs
internal/GenUnboxTuple.hs
internal/unbox-tuple-instances
Flag BoundsChecks
Description: Enable bounds checking
Default: True
Flag UnsafeChecks
Description: Enable bounds checking in unsafe operations at the cost of a
significant performance penalty
Default: False
Flag InternalChecks
Description: Enable internal consistency checks at the cost of a
significant performance penalty
Default: False
Library
Extensions: CPP
Exposed-Modules:
Data.Vector.Internal.Check
Data.Vector.Fusion.Util
Data.Vector.Fusion.Stream.Size
Data.Vector.Fusion.Stream.Monadic
Data.Vector.Fusion.Stream
Data.Vector.Generic.Mutable
Data.Vector.Generic.New
Data.Vector.Generic
Data.Vector.Primitive.Mutable
Data.Vector.Primitive
Data.Vector.Storable.Internal
Data.Vector.Storable.Mutable
Data.Vector.Storable
Data.Vector.Unboxed.Base
Data.Vector.Unboxed.Mutable
Data.Vector.Unboxed
Data.Vector.Mutable
Data.Vector
Include-Dirs:
include, internal
Install-Includes:
vector.h
Build-Depends: base >= 2 && < 5, ghc >= 6.9, primitive >= 0.2 && < 0.3
if impl(ghc<6.13)
Ghc-Options: -finline-if-enough-args
Ghc-Options: -O2
if flag(BoundsChecks)
cpp-options: -DVECTOR_BOUNDS_CHECKS
if flag(UnsafeChecks)
cpp-options: -DVECTOR_UNSAFE_CHECKS
if flag(InternalChecks)
cpp-options: -DVECTOR_INTERNAL_CHECKS