packages feed

PrimitiveArray 0.2.1.0 → 0.2.1.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.PrimitiveArray.Zero: instance (Shape sh, ExtShape sh, Prim elm) => MPrimArrayOps MArr0 sh elm
- Data.PrimitiveArray.Zero: instance (Shape sh, ExtShape sh, Prim elm) => PrimArrayOps Arr0 sh elm
+ Data.PrimitiveArray.Zero: instance (Shape sh, ExtShape sh) => MPrimArrayOps MArr0 sh elm
+ Data.PrimitiveArray.Zero: instance (Shape sh, ExtShape sh) => PrimArrayOps Arr0 sh elm

Files

Data/PrimitiveArray/Zero.hs view
@@ -35,7 +35,7 @@ -- NOTE inLb, inUb is including bound, while exUb is excluding upper bound. -- Differentiates between largest included index, first excluded index. -instance (Shape sh, ExtShape sh, Prim elm) => MPrimArrayOps MArr0 sh elm where+instance (Shape sh, ExtShape sh) => MPrimArrayOps MArr0 sh elm where   boundsM (MArr0 exUb _) = (zeroDim,exUb `subDim` unitDim)   fromListM inLb inUb xs = do     ma <- newM inLb inUb@@ -61,7 +61,7 @@   {-# INLINE readM #-}   {-# INLINE writeM #-} -instance (Shape sh, ExtShape sh, Prim elm) => PrimArrayOps Arr0 sh elm where+instance (Shape sh, ExtShape sh) => PrimArrayOps Arr0 sh elm where   bounds (Arr0 exUb _) = (zeroDim,exUb `subDim` unitDim)   freeze (MArr0 exUb mba) = Arr0 exUb `liftM` unsafeFreezeArray mba   index (Arr0 exUb ba) idx = assert (inShape exUb idx) $ indexArray ba (toIndex exUb idx)
PrimitiveArray.cabal view
@@ -1,5 +1,5 @@ Name:           PrimitiveArray-Version:        0.2.1.0+Version:        0.2.1.1 License:        BSD3 License-file:   LICENSE Author:         Christian Hoener zu Siederdissen