contiguous 0.6.4.1 → 0.6.4.2
raw patch · 3 files changed
+8/−3 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- contiguous.cabal +1/−1
- src/Data/Primitive/Contiguous.hs +2/−2
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for contiguous +## 0.6.4.2 -- 2024-02-06++* Restore support for versions of base that do not export `liftA2`+ from the prelude.+ ## 0.6.4.1 -- 2024-02-05 * Update package metadata.
contiguous.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: contiguous-version: 0.6.4.1+version: 0.6.4.2 homepage: https://github.com/byteverse/contiguous bug-reports: https://github.com/byteverse/contiguous/issues author: Andrew Martin
src/Data/Primitive/Contiguous.hs view
@@ -1082,7 +1082,7 @@ then pure (STA unsafeFreeze) else case index# arr ix of (# x #) ->- liftA2+ A.liftA2 ( \b (STA m) -> STA $ \marr -> do write marr ix b m marr@@ -1330,7 +1330,7 @@ let go !ix = if ix < sz then- liftA2+ A.liftA2 ( \b (STA m) -> STA $ \marr -> do write marr ix b m marr