Remove outdated Changelog file
[darcs-mirrors/vector.git] / vector.cabal
index 708fdf0..4a670a9 100644 (file)
@@ -1,5 +1,5 @@
 Name:           vector
-Version:        0.7.1
+Version:        0.9.9
 License:        BSD3
 License-File:   LICENSE
 Author:         Roman Leshchinskiy <rl@cse.unsw.edu.au>
@@ -12,22 +12,25 @@ Synopsis:       Efficient Arrays
 Description:
         .
         An efficient implementation of Int-indexed arrays (both mutable
-        and immutable), with a powerful loop fusion optimization framework .
+        and immutable), with a powerful loop optimisation framework .
         .
         It is structured as follows:
         .
-        [@Data.Vector@] Boxed vectors of arbitrary types.
+        ["Data.Vector"] Boxed vectors of arbitrary types.
         .
-        [@Data.Vector.Unboxed@] Unboxed vectors with an adaptive
+        ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive
         representation based on data type families.
         .
-        [@Data.Vector.Storable@] Unboxed vectors of 'Storable' types.
+        ["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
+        ["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.
+        ["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.
         .
@@ -38,47 +41,41 @@ Description:
         .
         * <http://trac.haskell.org/vector>
         .
-        Changes in version 0.7.1
-        .
-        * New functions for copying potentially overlapping arrays: @move@,
-          @unsafeMove@ (contributed by Louis Wasserman)
-        .
-        * New function: @iterateN@ (contributed by Alexey Khudyakov)
+        Changes in version 0.9.1
         .
-        * New function: @splitAt@ (contributed by Bas van Dijk)
+        * New functions: @unsafeFromForeignPtr0@ and @unsafeToForeignPtr0@
         .
-        * New monadic operations: @generateM@, @sequence@, @foldfM_@ and
-          variants
+        * Small performance improvements
         .
-        * Specialisations of various monadic operations for primitive monads
+        * Fixes for GHC 7.4
         .
-        * Unsafe casts for Storable vectors (contributed by Bas van Dijk)
+        Changes in version 0.9
         .
-        * Efficiency improvements (with contributions by Bas van Dijk)
+        * 'MonadPlus' instance for boxed vectors
         .
-        Changes in version 0.7.0.1
+        * Export more @construct@ and @constructN@ from @Safe@ modules
         .
-        * Dependency on package ghc removed
+        * Require @primitive-0.4.0.1@
         .
-        Changes in version 0.7
+        Changes in version 0.8
         .
-        * New functions for freezing, copying and thawing vectors: @freeze@,
-          @thaw@, @unsafeThaw@ and @clone@
+        * New functions: @constructN@, @constructrN@
         .
-        * @newWith@ and @newUnsafeWith@ on mutable vectors replaced by
-          @replicate@
+        * Support for GHC 7.2 array copying primitives
         .
-        * New function: @concat@
+        * New fixity for @(!)@
         .
-        * New function for safe indexing: @(!?)@
+        * Safe Haskell support (contributed by David Terei)
         .
-        * @Monoid@ instances for all vector types
+        * 'Functor', 'Monad', 'Applicative', 'Alternative', 'Foldable' and
+          'Traversable' instances for boxed vectors
+          (/WARNING: they tend to be slow and are only provided for completeness/)
         .
-        * Significant recycling and fusion improvements
+        * 'Show' instances for immutable vectors follow containers conventions
         .
-        * Bug fixes
+        * 'Read' instances for all immutable vector types
         .
-        * Support for GHC 7.0
+        * Performance improvements
         .
 
 Cabal-Version:  >= 1.2.3
@@ -110,7 +107,6 @@ Extra-Source-Files:
       benchmarks/TestData/Random.hs
       internal/GenUnboxTuple.hs
       internal/unbox-tuple-instances
-      Changelog
 
 Flag BoundsChecks
   Description: Enable bounds checking
@@ -135,15 +131,23 @@ Library
         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.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
@@ -151,10 +155,14 @@ 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
@@ -162,7 +170,10 @@ Library
   Install-Includes:
         vector.h
 
-  Build-Depends: base >= 4 && < 5, primitive >= 0.3.1 && < 0.4
+  Build-Depends: base >= 4 && < 5
+               , primitive >= 0.4.9 && < 0.6
+               , ghc-prim
+               , deepseq >= 1.1 && < 1.4
 
   if impl(ghc<6.13)
     Ghc-Options: -finline-if-enough-args -fno-method-sharing