packages feed

TrieMap 0.6.1 → 0.6.2

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.TrieMap.Representation: instance Repr a[aiIn] => Repr (IntMap a[aiIn])
+ Data.TrieMap.Representation: instance Repr a[aiHh] => Repr (IntMap a[aiHh])

Files

Data/TrieMap/Rep/Instances.hs view
@@ -198,8 +198,8 @@ 		fS w x = fromIntegral w `shiftL` x 		(Words 0 w, xs) `c` w8 			= (Words 3 (w .|. sL w8 24), xs |> w)-		(Words (i+1) w, xs) `c` w8-			= (Words i (w .|. sL w8 (8 * i)), xs)+		(Words i' w, xs) `c` w8+			= let !i = i' - 1 in (Words i (w .|. sL w8 (8 * i)), xs) 		sL :: Word8 -> Int -> Word32 		w `sL` x = fromIntegral w `shiftL` x 
TrieMap.cabal view
@@ -1,5 +1,5 @@ name:		     TrieMap-version:             0.6.1+version:             0.6.2 tested-with:	     GHC category:            Algorithms synopsis:	     Automatic type inference of generalized tries.