packages feed

largeword 1.0.0 → 1.0.1

raw patch · 2 files changed

+26/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.LargeWord: LargeKey :: a -> b -> LargeKey a b
+ Data.LargeWord: instance LargeWord Word16
+ Data.LargeWord: instance LargeWord Word8

Files

Data/LargeWord.hs view
@@ -14,7 +14,7 @@ -----------------------------------------------------------------------------  module Data.LargeWord-  ( LargeKey+  ( LargeKey(..)   , Word96   , Word128   , Word160@@ -41,6 +41,30 @@    largeWordShift :: a -> Int -> a    largeWordXor :: a -> a -> a    largeBitSize :: a -> Int++-- Word8 is a key in the obvious way++instance LargeWord Word8 where+  largeWordToInteger = toInteger+  integerToLargeWord = fromInteger+  largeWordPlus = (+)+  largeWordAnd  = (.&.)+  largeWordOr   = (.|.)+  largeWordShift = shift+  largeWordXor   = xor+  largeBitSize   = bitSize++-- Word16 is a key in the obvious way++instance LargeWord Word16 where+  largeWordToInteger = toInteger+  integerToLargeWord = fromInteger+  largeWordPlus = (+)+  largeWordAnd  = (.&.)+  largeWordOr   = (.|.)+  largeWordShift = shift+  largeWordXor   = xor+  largeBitSize   = bitSize  -- Word32 is a key in the obvious way. 
largeword.cabal view
@@ -1,5 +1,5 @@ name:           largeword-version:        1.0.0+version:        1.0.1 license:        BSD3 copyright:      Dominic Steinitz <dominic@steinitz.org> author:         Dominic Steinitz <dominic@steinitz.org>