Permalink
Browse files

Merge pull request #6 from dmalikov/master

Make it buildable with ghc-7.6
  • Loading branch information...
2 parents 070a97a + d3f0007 commit e5e5517d4aca9d50ff8f5c1bcc04e8fa7650e427 @luqui committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Data/MemoCombinators.hs
@@ -115,7 +115,7 @@ integral :: (Integral a) => Memo a
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

0 comments on commit e5e5517

Please sign in to comment.