ptr 0.16.8.2 → 0.16.8.3
raw patch · 2 files changed
+6/−17 lines, 2 filesdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: text
API changes (from Hackage documentation)
Files
- library/Ptr/UncheckedShifting.hs +4/−15
- ptr.cabal +2/−2
library/Ptr/UncheckedShifting.hs view
@@ -35,10 +35,6 @@ import Foreign import Prelude -#if MIN_VERSION_base(4,16,0)-import qualified GHC.Exts as Exts-#endif- ------------------------------------------------------------------------ -- Unchecked shifts @@ -64,20 +60,13 @@ #endif #if !defined(__HADDOCK__)-shiftr_w16 (W16# w) (I# i) = W16# ( #if MIN_VERSION_base(4,16,0)- Exts.uncheckedShiftRLWord16#-#else- uncheckedShiftRL#-#endif- w i)-shiftr_w32 (W32# w) (I# i) = W32# (-#if MIN_VERSION_base(4,16,0)- Exts.uncheckedShiftRLWord32#+shiftr_w16 (W16# w) (I# i) = W16# (w `uncheckedShiftRLWord16#` i)+shiftr_w32 (W32# w) (I# i) = W32# (w `uncheckedShiftRLWord32#` i) #else- uncheckedShiftRL#+shiftr_w16 (W16# w) (I# i) = W16# (w `uncheckedShiftRL#` i)+shiftr_w32 (W32# w) (I# i) = W32# (w `uncheckedShiftRL#` i) #endif- w i) #if WORD_SIZE_IN_BITS < 64 shiftr_w64 (W64# w) (I# i) = W64# (w `uncheckedShiftRL64#` i)
ptr.cabal view
@@ -1,5 +1,5 @@ name: ptr-version: 0.16.8.2+version: 0.16.8.3 category: Ptr, Data synopsis: Experimental abstractions for operations on pointers description:@@ -47,7 +47,7 @@ contravariant >=1.3 && <2, profunctors >=5.1 && <6, strict-list >=0.1.5 && <0.2,- text ==1.*,+ text >=1 && <3, time >=1 && <2, vector >=0.12 && <0.13