TrieMap 0.6.2 → 0.6.3
raw patch · 3 files changed
+3/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/TrieMap/IntMap.hs +1/−0
- Data/TrieMap/Rep/Instances.hs +1/−1
- TrieMap.cabal +1/−1
Data/TrieMap/IntMap.hs view
@@ -255,6 +255,7 @@ mapEither :: Sized b -> Sized c -> EitherMap Key (a) (b) (c) -> WordMap a -> (WordMap b, WordMap c)+mapEither _ _ _ Nil = (Nil, Nil) mapEither s1 s2 f (Bin _ p m l r) = case (mapEither s1 s2 f l, mapEither s1 s2 f r) of ((lL, lR), (rL, rR)) -> (bin p m lL rL, bin p m lR rR) mapEither s1 s2 f (Tip _ kx x) = (singletonMaybe s1 kx *** singletonMaybe s2 kx) (f kx x)
Data/TrieMap/Rep/Instances.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE FlexibleContexts, UndecidableInstances, TypeFamilies, TypeOperators, TemplateHaskell #-}+{-# LANGUAGE FlexibleContexts, UndecidableInstances, TypeFamilies, TypeOperators, TemplateHaskell, NPlusKPatterns #-} module Data.TrieMap.Rep.Instances() where
TrieMap.cabal view
@@ -1,5 +1,5 @@ name: TrieMap-version: 0.6.2+version: 0.6.3 tested-with: GHC category: Algorithms synopsis: Automatic type inference of generalized tries.