packages feed

tools-yj 0.1.0.26 → 0.1.0.27

raw patch · 2 files changed

+7/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Data.ByteString.ToolsYj: toBitsBE :: Bits b => ByteString -> b

Files

src/Data/ByteString/ToolsYj.hs view
@@ -5,8 +5,10 @@  module Data.ByteString.ToolsYj ( -	fromBits, fromBits', toBits, toBits'+	fromBits, fromBits', toBits, toBits', +	toBitsBE+ 	) where  import Data.Bits@@ -32,3 +34,6 @@ 	Nothing 	(Just $ BS.foldr (\b s -> bitsToBits 8 b .|. s `shiftL` 8) zeroBits bs) 	(8 * BS.length bs <= finiteBitSize @b undefined)++toBitsBE :: Bits b => BS.ByteString -> b+toBitsBE = BS.foldl (\s b -> bitsToBits 8 b .|. s `shiftL` 8) zeroBits
tools-yj.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           tools-yj-version:        0.1.0.26+version:        0.1.0.27 synopsis:       Tribial tools description:    Please see the README on GitHub at <https://github.com/YoshikuniJujo/tools-yj#readme> category:       Tools