ptr 0.16 → 0.16.1
raw patch · 2 files changed
+12/−2 lines, 2 files
Files
- library/Ptr/Poking.hs +11/−1
- ptr.cabal +1/−1
library/Ptr/Poking.hs view
@@ -1,7 +1,7 @@ module Ptr.Poking where -import Ptr.Prelude+import Ptr.Prelude hiding (length) import qualified Ptr.IO as A import qualified Ptr.Poke as C import qualified Ptr.PokeAndPeek as D@@ -43,6 +43,16 @@ {-# INLINE mappend #-} mappend = (<>)++{-# INLINE null #-}+null :: Poking -> Bool+null =+ (== 0) . length++{-# INLINE length #-}+length :: Poking -> Int+length (Poking size _) =+ size {-# INLINE word8 #-} word8 :: Word8 -> Poking
ptr.cabal view
@@ -1,7 +1,7 @@ name: ptr version:- 0.16+ 0.16.1 category: Ptr, Data synopsis: