fixed-vector 0.6.1.0 → 0.6.1.1
raw patch · 7 files changed
+29/−2 lines, 7 files
Files
- ChangeLog +5/−0
- Data/Vector/Fixed.hs +0/−1
- Data/Vector/Fixed/Boxed.hs +6/−0
- Data/Vector/Fixed/Primitive.hs +6/−0
- Data/Vector/Fixed/Storable.hs +6/−0
- Data/Vector/Fixed/Unboxed.hs +5/−0
- fixed-vector.cabal +1/−1
ChangeLog view
@@ -1,3 +1,8 @@+Changes in 0.6.1.1++ * GHC 7.8 support++ Changes in 0.6.1.0 * `distribute', `collect' and their monadic variants added.
Data/Vector/Fixed.hs view
@@ -160,7 +160,6 @@ import qualified Data.Vector.Fixed.Cont as C import Data.Vector.Fixed.Internal -import qualified Prelude as P import Prelude hiding ( replicate,map,zipWith,maximum,minimum,and,or,all,any , foldl,foldr,foldl1,length,sum,reverse , head,tail,mapM,mapM_,sequence,sequence_
Data/Vector/Fixed/Boxed.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-}@@ -41,8 +42,13 @@ -- | Mutable unboxed vector with fixed length newtype MVec n s a = MVec (MutableArray s a) +#if __GLASGOW_HASKELL__ >= 708+deriving instance Typeable Vec+deriving instance Typeable MVec+#else deriving instance Typeable2 Vec deriving instance Typeable3 MVec+#endif type Vec2 = Vec (S (S Z)) type Vec3 = Vec (S (S (S Z)))
Data/Vector/Fixed/Primitive.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-}@@ -44,8 +45,13 @@ -- | Mutable unboxed vector with fixed length newtype MVec n s a = MVec (MutableByteArray s) +#if __GLASGOW_HASKELL__ >= 708+deriving instance Typeable Vec+deriving instance Typeable MVec+#else deriving instance Typeable2 Vec deriving instance Typeable3 MVec+#endif type Vec2 = Vec (S (S Z)) type Vec3 = Vec (S (S (S Z)))
Data/Vector/Fixed/Storable.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-}@@ -51,8 +52,13 @@ -- | Storable-based mutable vector with fixed length newtype MVec n s a = MVec (ForeignPtr a) +#if __GLASGOW_HASKELL__ >= 708+deriving instance Typeable Vec+deriving instance Typeable MVec+#else deriving instance Typeable2 Vec deriving instance Typeable3 MVec+#endif type Vec2 = Vec (S (S Z)) type Vec3 = Vec (S (S (S Z)))
Data/Vector/Fixed/Unboxed.hs view
@@ -44,8 +44,13 @@ data family Vec n a data family MVec n s a +#if __GLASGOW_HASKELL__ >= 708+deriving instance Typeable Vec+deriving instance Typeable MVec+#else deriving instance Typeable2 Vec deriving instance Typeable3 MVec+#endif type Vec2 = Vec (S (S Z)) type Vec3 = Vec (S (S (S Z)))
fixed-vector.cabal view
@@ -1,5 +1,5 @@ Name: fixed-vector-Version: 0.6.1.0+Version: 0.6.1.1 Synopsis: Generic vectors with statically known size. Description: Generic library for vectors with statically known