memory 0.17.0 → 0.18.0
raw patch · 5 files changed
+14/−5 lines, 5 filesdep ~basedep ~ghc-prim
Dependency ranges changed: base, ghc-prim
Files
- CHANGELOG.md +7/−0
- Data/ByteArray/Encoding.hs +1/−1
- Data/ByteArray/MemView.hs +1/−1
- Data/Memory/Internal/CompatPrim64.hs +2/−0
- memory.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,10 @@+## 0.18++* drop support for ghc < 8.8+* compat with ghc 9.4++## ...+ ## 0.14.18 * Branch/Release Snafu
Data/ByteArray/Encoding.hs view
@@ -38,7 +38,7 @@ -- requires a newline at least every 76 encoded characters, which works around -- limitations of older email programs that could not handle long lines. -- Be aware that other languages, such as Ruby, encode the RFC 2045 version--- by default. To decode their ouput, remove all newlines before decoding.+-- by default. To decode their output, remove all newlines before decoding. -- -- ==== Examples --
Data/ByteArray/MemView.hs view
@@ -32,7 +32,7 @@ -- | Increase the memory view while reducing the size of the window ----- this is useful as an abtraction to represent the current offset+-- this is useful as an abstraction to represent the current offset -- in a buffer, and the remaining bytes left. memViewPlus :: MemView -> Int -> MemView memViewPlus (MemView p len) n = MemView (p `plusPtr` n) (len - n)
Data/Memory/Internal/CompatPrim64.hs view
@@ -63,6 +63,7 @@ type Word64# = Word# type Int64# = Int# +#if __GLASGOW_HASKELL__ < 904 eqWord64# :: Word64# -> Word64# -> OutBool eqWord64# = eqWord# @@ -143,6 +144,7 @@ timesWord64# :: Word64# -> Word64# -> Word64# timesWord64# = timesWord#+#endif w64# :: Word# -> Word# -> Word# -> Word64# w64# w _ _ = w
memory.cabal view
@@ -1,5 +1,5 @@ Name: memory-version: 0.17.0+version: 0.18.0 Synopsis: memory and related abstraction stuff Description: Chunk of memory, polymorphic byte array management and manipulation@@ -69,7 +69,7 @@ Data.ByteArray.Methods Data.ByteArray.MemView Data.ByteArray.View- if impl(ghc < 8.0)+ if impl(ghc < 8.8) buildable: False else build-depends: base@@ -106,7 +106,7 @@ Other-modules: Imports SipHash Utils- if impl(ghc < 8.0)+ if impl(ghc < 8.8) buildable: False else build-depends: base