Browse files

Make it buildable with ghc-7.6

  • Loading branch information...
1 parent 070a97a commit d3f0007d8c92f1f3659b6e94aa949d5763aa6b40 @dmalikov dmalikov committed Oct 4, 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

1 comment on commit d3f0007


luqui commented on d3f0007 Oct 10, 2012

Thank you. I do not currently have a development environment, do you mind bumping the version and uploading to hackage for me. I would really appreciate it.

Please sign in to comment.