packages feed

vector 0.10.10.0 → 0.10.11.0

raw patch · 3 files changed

+19/−2 lines, 3 files

Files

Data/Vector.hs view
@@ -1,4 +1,5 @@-{-# LANGUAGE FlexibleInstances+{-# LANGUAGE CPP+           , FlexibleInstances            , MultiParamTypeClasses            , TypeFamilies            , Rank2Types@@ -191,6 +192,10 @@ import qualified Data.Foldable as Foldable import qualified Data.Traversable as Traversable +#if __GLASGOW_HASKELL__ >= 708+import qualified GHC.Exts as Exts+#endif+ -- | Boxed vectors, supporting efficient slicing. data Vector a = Vector {-# UNPACK #-} !Int                        {-# UNPACK #-} !Int@@ -209,6 +214,14 @@ instance Read a => Read (Vector a) where   readPrec = G.readPrec   readListPrec = readListPrecDefault++#if __GLASGOW_HASKELL__ >= 708+instance Exts.IsList (Vector a) where+  type Item (Vector a) = a+  fromList = fromList+  fromListN = fromListN+  toList = toList+#endif  instance Data a => Data (Vector a) where   gfoldl       = G.gfoldl
changelog view
@@ -1,3 +1,7 @@+Changes in version 0.10.11.0++* Support OverloadedLists for boxed Vector in GHC >= 7.8+ Changes in version 0.10.10.0   * Minor version bump to rectify PVP violation occured in 0.10.9.3 release
vector.cabal view
@@ -1,5 +1,5 @@ Name:           vector-Version:        0.10.10.0+Version:        0.10.11.0 -- don't forget to update the changelog file! License:        BSD3 License-File:   LICENSE