Use Safe Haskell if GHC >= 7.2
[darcs-mirrors/vector.git] / vector.cabal
index eaa30b2..5bc267f 100644 (file)
@@ -1,11 +1,12 @@
 Name:           vector
-Version:        0.6
+Version:        0.7.2
 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
+Copyright:      (c) Roman Leshchinskiy 2008-2011
 Homepage:       http://code.haskell.org/vector
+Bug-Reports:    http://trac.haskell.org/vector
 Category:       Data, Data Structures
 Synopsis:       Efficient Arrays
 Description:
@@ -37,20 +38,48 @@ Description:
         .
         * <http://trac.haskell.org/vector>
         .
-        Changes since version 0.5
+        Changes in version 0.7.1
         .
-        * More efficient representation of @Storable@ vectors
+        * New functions: @iterateN@, @splitAt@
         .
-        * Block copy operations used when possible
+        * New monadic operations: @generateM@, @sequence@, @foldM_@ and
+          variants
         .
-        * @Typeable@ and @Data@ instances
+        * New functions for copying potentially overlapping arrays: @move@,
+          @unsafeMove@
         .
-        * New combinators
+        * Specialisations of various monadic operations for primitive monads
         .
-        * Performance improvements
+        * Unsafe casts for Storable vectors
+        .
+        * Efficiency improvements
+        .
+        Changes in version 0.7.0.1
+        .
+        * Dependency on package ghc removed
+        .
+        Changes in version 0.7
+        .
+        * New functions for freezing, copying and thawing vectors: @freeze@,
+          @thaw@, @unsafeThaw@ and @clone@
+        .
+        * @newWith@ and @newUnsafeWith@ on mutable vectors replaced by
+          @replicate@
+        .
+        * New function: @concat@
+        .
+        * New function for safe indexing: @(!?)@
+        .
+        * @Monoid@ instances for all vector types
+        .
+        * Significant recycling and fusion improvements
+        .
+        * Bug fixes
+        .
+        * Support for GHC 7.0
         .
 
-Cabal-Version:  >= 1.2
+Cabal-Version:  >= 1.2.3
 Build-Type:     Simple
 
 Extra-Source-Files:
@@ -62,8 +91,24 @@ Extra-Source-Files:
       tests/Utilities.hs
       tests/Tests/Stream.hs
       tests/Tests/Vector.hs
+      benchmarks/vector-benchmarks.cabal
+      benchmarks/LICENSE
+      benchmarks/Setup.hs
+      benchmarks/Main.hs
+      benchmarks/Algo/AwShCC.hs
+      benchmarks/Algo/HybCC.hs
+      benchmarks/Algo/Leaffix.hs
+      benchmarks/Algo/ListRank.hs
+      benchmarks/Algo/Quickhull.hs
+      benchmarks/Algo/Rootfix.hs
+      benchmarks/Algo/Spectral.hs
+      benchmarks/Algo/Tridiag.hs
+      benchmarks/TestData/Graph.hs
+      benchmarks/TestData/ParenTree.hs
+      benchmarks/TestData/Random.hs
       internal/GenUnboxTuple.hs
       internal/unbox-tuple-instances
+      Changelog
 
 Flag BoundsChecks
   Description: Enable bounds checking
@@ -115,7 +160,7 @@ Library
   Install-Includes:
         vector.h
 
-  Build-Depends: base >= 4 && < 5, ghc >= 6.9, primitive >= 0.3 && < 0.4
+  Build-Depends: base >= 4 && < 5, primitive >= 0.3.1 && < 0.4
 
   if impl(ghc<6.13)
     Ghc-Options: -finline-if-enough-args -fno-method-sharing