packages feed

bytestring-nums 0.1.0 → 0.2.0

raw patch · 3 files changed

+5/−13 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Data/ByteString/Nums/Careless/Hex.hs view
@@ -113,16 +113,8 @@   between b a z              =  b >= c2w a && byte <= c2w z   place_up b                 =  (0x10 * acc) + fromIntegral b -strict_hex bytes             =  foldl' hexalize 0 piece- where-  piece                      =  if pack "0x" `isPrefixOf` bytes-                                  then  drop 2 bytes-                                  else  bytes+strict_hex bytes             =  foldl' hexalize 0 bytes -lazy_hex bytes               =  Lazy.foldlChunks (foldl' hexalize) 0 piece- where-  piece                      =  if Lazy.pack "0x" `Lazy.isPrefixOf` bytes-                                  then  Lazy.drop 2 bytes-                                  else  bytes+lazy_hex bytes               =  Lazy.foldlChunks (foldl' hexalize) 0 bytes  
Data/ByteString/Nums/Careless/Int.hs view
@@ -11,9 +11,9 @@ import Data.Word import Data.Int import Data.Ratio-import Data.ByteString hiding (head)+import Data.ByteString hiding (head, pack) import Data.ByteString.Internal-import Data.ByteString.Char8 (head)+import Data.ByteString.Char8 hiding (foldl') import qualified Data.ByteString.Lazy.Char8 as Lazy import qualified Data.ByteString.Lazy.Internal as Lazy 
bytestring-nums.cabal view
@@ -1,5 +1,5 @@ name                          : bytestring-nums-version                       : 0.1.0+version                       : 0.2.0 category                      : Text license                       : BSD3 license-file                  : LICENSE