packages feed

data-memocombinators 0.4.3 → 0.4.4

raw patch · 2 files changed

+2/−2 lines, 2 filesnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.MemoCombinators: bits :: (Ord a, Bits a) => Memo a
+ Data.MemoCombinators: bits :: (Num a, Ord a, Bits a) => Memo a

Files

Data/MemoCombinators.hs view
@@ -115,7 +115,7 @@ integral = wrap fromInteger toInteger bits  -- | Memoize an ordered type with a bits instance.-bits :: (Ord a, Bits a) => Memo a+bits :: (Num a, Ord a, Bits a) => Memo a bits f = IntTrie.apply (fmap f IntTrie.identity)  -- | @switch p a b@ uses the memo table a whenever p gives
data-memocombinators.cabal view
@@ -1,7 +1,7 @@ Name: data-memocombinators Description:     Combinators for building memo tables.-Version: 0.4.3+Version: 0.4.4 Stability: experimental Synopsis: Combinators for building memo tables. License: BSD3