Require primitive >= 0.5.0.1
[darcs-mirrors/vector.git] / vector.cabal
index 279aaf4..b9bdc08 100644 (file)
@@ -1,10 +1,10 @@
 Name:           vector
-Version:        0.9.1
+Version:        0.10
 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-2011
+Copyright:      (c) Roman Leshchinskiy 2008-2012
 Homepage:       http://code.haskell.org/vector
 Bug-Reports:    http://trac.haskell.org/vector
 Category:       Data, Data Structures
@@ -29,9 +29,6 @@ Description:
         .
         ["Data.Vector.Generic"] Generic interface to the vector types.
         .
-        Each module has a @Safe@ version with is marked as @Trustworthy@
-        (see <http://hackage.haskell.org/trac/ghc/wiki/SafeHaskell>).
-        .
         There is also a (draft) tutorial on common uses of vector.
         .
         * <http://haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial>
@@ -41,42 +38,18 @@ Description:
         .
         * <http://trac.haskell.org/vector>
         .
-        Changes in version 0.9.1
-        .
-        * New functions: @unsafeFromForeignPtr0@ and @unsafeToForeignPtr0@
-        .
-        * Small performance improvements
-        .
-        * Fixes for GHC 7.4
-        .
-        Changes in version 0.9
-        .
-        * 'MonadPlus' instance for boxed vectors
-        .
-        * Export more @construct@ and @constructN@ from @Safe@ modules
-        .
-        * Require @primitive-0.4.0.1@
-        .
-        Changes in version 0.8
-        .
-        * New functions: @constructN@, @constructrN@
-        .
-        * Support for GHC 7.2 array copying primitives
-        .
-        * New fixity for @(!)@
-        .
-        * Safe Haskell support (contributed by David Terei)
-        .
-        * 'Functor', 'Monad', 'Applicative', 'Alternative', 'Foldable' and
-          'Traversable' instances for boxed vectors
-          (/WARNING: they tend to be slow and are only provided for completeness/)
-        .
-        * 'Show' instances for immutable vectors follow containers conventions
+        Changes in version 0.10.0.1
         .
-        * 'Read' instances for all immutable vector types
+        * Require @primitive@ to include workaround for a GHC array copying bug
         .
-        * Performance improvements
+        Changes in version 0.10
         .
+       * @NFData@ instances
+       .
+       * More efficient block fills
+       .
+       * Safe Haskell support removed
+       .
 
 Cabal-Version:  >= 1.2.3
 Build-Type:     Simple
@@ -88,7 +61,8 @@ Extra-Source-Files:
       tests/Main.hs
       tests/Boilerplater.hs
       tests/Utilities.hs
-      tests/Tests/Stream.hs
+      tests/Tests/Move.hs
+      tests/Tests/Bundle.hs
       tests/Tests/Vector.hs
       benchmarks/vector-benchmarks.cabal
       benchmarks/LICENSE
@@ -107,7 +81,6 @@ Extra-Source-Files:
       benchmarks/TestData/Random.hs
       internal/GenUnboxTuple.hs
       internal/unbox-tuple-instances
-      Changelog
 
 Flag BoundsChecks
   Description: Enable bounds checking
@@ -130,24 +103,19 @@ Library
         Data.Vector.Internal.Check
 
         Data.Vector.Fusion.Util
-        Data.Vector.Fusion.Stream.Size
         Data.Vector.Fusion.Stream.Monadic
-        Data.Vector.Fusion.Stream.Monadic.Safe
-        Data.Vector.Fusion.Stream
-        Data.Vector.Fusion.Stream.Safe
+        Data.Vector.Fusion.Bundle.Size
+        Data.Vector.Fusion.Bundle.Monadic
+        Data.Vector.Fusion.Bundle
 
+        Data.Vector.Generic.Mutable.Base
         Data.Vector.Generic.Mutable
-        Data.Vector.Generic.Mutable.Safe
         Data.Vector.Generic.Base
         Data.Vector.Generic.New
-        Data.Vector.Generic.New.Safe
         Data.Vector.Generic
-        Data.Vector.Generic.Safe
 
         Data.Vector.Primitive.Mutable
-        Data.Vector.Primitive.Mutable.Safe
         Data.Vector.Primitive
-        Data.Vector.Primitive.Safe
 
         Data.Vector.Storable.Internal
         Data.Vector.Storable.Mutable
@@ -155,14 +123,10 @@ Library
 
         Data.Vector.Unboxed.Base
         Data.Vector.Unboxed.Mutable
-        Data.Vector.Unboxed.Mutable.Safe
         Data.Vector.Unboxed
-        Data.Vector.Unboxed.Safe
 
         Data.Vector.Mutable
-        Data.Vector.Mutable.Safe
         Data.Vector
-        Data.Vector.Safe
 
   Include-Dirs:
         include, internal
@@ -170,7 +134,10 @@ Library
   Install-Includes:
         vector.h
 
-  Build-Depends: base >= 4 && < 5, primitive >= 0.4.0.1 && < 0.5, ghc-prim
+  Build-Depends: base >= 4 && < 5
+               , primitive >= 0.5.0.1 && < 0.6
+               , ghc-prim
+               , deepseq >= 1.1 && < 1.4
 
   if impl(ghc<6.13)
     Ghc-Options: -finline-if-enough-args -fno-method-sharing