PrimitiveArray 0.8.0.0 → 0.8.0.1
raw patch · 4 files changed
+16/−9 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/PrimitiveArray/Index/Point.hs +6/−6
- PrimitiveArray.cabal +2/−2
- changelog.md +7/−0
- tests/properties.hs +1/−1
Data/PrimitiveArray/Index/Point.hs view
@@ -87,20 +87,20 @@ instance IndexStream z => IndexStream (z:.PointL I) where streamUp (ls:.PointL lf) (hs:.PointL ht) = flatten (streamUpMk lf) (streamUpStep ht) $ streamUp ls hs streamDown (ls:.PointL lf) (hs:.PointL ht) = flatten (streamDownMk ht) (streamDownStep lf) $ streamDown ls hs- {-# Inline streamUp #-}- {-# Inline streamDown #-}+ {-# Inline [0] streamUp #-}+ {-# Inline [0] streamDown #-} instance IndexStream z => IndexStream (z:.PointL O) where streamUp (ls:.PointL lf) (hs:.PointL ht) = flatten (streamDownMk ht) (streamDownStep lf) $ streamUp ls hs streamDown (ls:.PointL lf) (hs:.PointL ht) = flatten (streamUpMk lf) (streamUpStep ht) $ streamDown ls hs- {-# Inline streamUp #-}- {-# Inline streamDown #-}+ {-# Inline [0] streamUp #-}+ {-# Inline [0] streamDown #-} instance IndexStream z => IndexStream (z:.PointL C) where streamUp (ls:.PointL lf) (hs:.PointL ht) = flatten (streamUpMk lf) (streamUpStep ht) $ streamUp ls hs streamDown (ls:.PointL lf) (hs:.PointL ht) = flatten (streamDownMk ht) (streamDownStep lf) $ streamDown ls hs- {-# Inline streamUp #-}- {-# Inline streamDown #-}+ {-# Inline [0] streamUp #-}+ {-# Inline [0] streamDown #-} data SP z = SP !z !Int#
PrimitiveArray.cabal view
@@ -1,5 +1,5 @@ Name: PrimitiveArray-Version: 0.8.0.0+Version: 0.8.0.1 License: BSD3 License-file: LICENSE Maintainer: choener@bioinf.uni-leipzig.de@@ -11,7 +11,7 @@ Category: Data Build-type: Simple Cabal-version: >=1.10.0-tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1+tested-with: GHC == 7.10.3, GHC == 8.0.1 Synopsis: Efficient multidimensional arrays Description: <http://www.bioinf.uni-leipzig.de/Software/gADP/ generalized Algebraic Dynamic Programming>
changelog.md view
@@ -1,3 +1,10 @@+0.8.0.1+-------++- PointL delays inlining to phase 0 for table filling. This is part of the+ close-to-C optimization effort for linear languages.+- disabling smallcheck until I fix how things are generated+ 0.8.0.0 -------
tests/properties.hs view
@@ -44,6 +44,6 @@ main = do defaultMain $ testGroup "" [ quickcheck_tests- , smallcheck_tests+-- , smallcheck_tests ]