yarr 1.4.0.1 → 1.4.0.2
raw patch · 5 files changed
+19/−10 lines, 5 filesdep ~basedep ~deepseqdep ~ghc-prim
Dependency ranges changed: base, deepseq, ghc-prim, primitive, template-haskell
Files
- Data/Yarr/Flow.hs +1/−1
- Data/Yarr/Repr/Foreign.hs +2/−2
- Data/Yarr/Utils/FixedVector/VecTuple.hs +9/−1
- changelog.md +1/−0
- yarr.cabal +6/−6
Data/Yarr/Flow.hs view
@@ -14,7 +14,7 @@ dzipElems, dzipElemsM, -- * High level shortcuts- traverse, zipElems, mapElems, mapElemsM,+ Data.Yarr.Flow.traverse, zipElems, mapElems, mapElemsM, -- ** Cartesian products cartProduct2, icartProduct2, icartProduct2M,
Data/Yarr/Repr/Foreign.hs view
@@ -24,7 +24,7 @@ import Foreign import Foreign.ForeignPtr import Foreign.Marshal.Alloc-import Foreign.Marshal.MissingAlloc+import Foreign.Marshal.MissingAlloc as FMMA import Data.Yarr.Base as B import Data.Yarr.Fusion@@ -170,7 +170,7 @@ newEmpty :: (Shape sh, Storable a, Integral a) => sh -> IO (UArray F L sh a) {-# INLINE newEmpty #-} newEmpty sh = do- arr <- internalNew callocBytes sh+ arr <- internalNew FMMA.callocBytes sh arr `deepseq` return () return arr
Data/Yarr/Utils/FixedVector/VecTuple.hs view
@@ -17,6 +17,14 @@ inline = pragInlD name Inline ConLike AllPhases in [fd, inline] +#if MIN_VERSION_template_haskell(2,11,0)+newtypeInstD' ctxt tc tys con derivs =+ let kindSig = Nothing+ in newtypeInstD ctxt tc tys kindSig con (cxt derivs)+#else+newtypeInstD' = newtypeInstD+#endif+ makeVecTupleInstance arityType a = do let n = arity a@@ -30,7 +38,7 @@ tupleType = foldl appT (tupleT n) $ replicate n e familyInst <-- newtypeInstD+ newtypeInstD' (cxt []) ''VecTuple [arityType, e]
changelog.md view
@@ -10,3 +10,4 @@ request. * Changes in 1.4.0.0: This works (and will only work) with the breaking change release of fixed-vector 0.8.0.0.+* Changes in 1.4.0.2: Build with GHC 7.10 and 8.0.
yarr.cabal view
@@ -1,5 +1,5 @@ Name: yarr-Version: 1.4.0.1+Version: 1.4.0.2 Synopsis: Yet another array library Description: Yarr is a new blazing fast dataflow framework (array library),@@ -44,12 +44,12 @@ Library build-depends:- base >=4.6 && <4.8,- ghc-prim == 0.3.*,- deepseq == 1.3.*,+ base >= 4.6 && < 4.10,+ ghc-prim >= 0.3 && < 0.6,+ deepseq >= 1.3 && < 1.5, fixed-vector >= 0.8 && < 0.9,- primitive == 0.6,- template-haskell >= 2.8 && < 2.10,+ primitive >= 0.6 && < 0.7,+ template-haskell >= 2.8 && < 2.12, missing-foreign == 0.1.1 extensions: