massiv 0.2.4.1 → 0.2.5.0
raw patch · 3 files changed
+4/−5 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Massiv.Core.Index: insertDimension :: IsIndexDimension ix n => ix -> Dimension n -> Lower ix
+ Data.Massiv.Core.Index: insertDimension :: IsIndexDimension ix n => Lower ix -> Dimension n -> Int -> ix
Files
massiv.cabal view
@@ -1,5 +1,5 @@ name: massiv-version: 0.2.4.1+version: 0.2.5.0 synopsis: Massiv (Массив) is an Array Library. description: Multi-dimensional Arrays with fusion, stencils and parallel computation. homepage: https://github.com/lehins/massiv
src/Data/Massiv/Array/Ops/Map.hs view
@@ -183,4 +183,3 @@ iterLinearM_ sz slackStart totalLength 1 (<) $ \ !i ix -> do void $ f ix (unsafeLinearIndex arr i) {-# INLINE imapP_ #-}-
src/Data/Massiv/Core/Index.hs view
@@ -253,9 +253,9 @@ -- | Type safe way of inserting a particular dimension, thus raising index dimensionality. ----- @since 0.2.4-insertDimension :: IsIndexDimension ix n => ix -> Dimension n -> Lower ix-insertDimension ix d = dropDim' ix (fromDimension d)+-- @since 0.2.5+insertDimension :: IsIndexDimension ix n => Lower ix -> Dimension n -> Int -> ix+insertDimension ix d = insertDim' ix (fromDimension d) {-# INLINE [1] insertDimension #-}