Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #6 from dmalikov/master

Make it buildable with ghc-7.6
  • Loading branch information...
commit e5e5517d4aca9d50ff8f5c1bcc04e8fa7650e427 2 parents 070a97a + d3f0007
Luke Palmer authored October 09, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  Data/MemoCombinators.hs
2  Data/MemoCombinators.hs
@@ -115,7 +115,7 @@ integral :: (Integral a) => Memo a
115 115
 integral = wrap fromInteger toInteger bits
116 116
 
117 117
 -- | Memoize an ordered type with a bits instance.
118  
-bits :: (Ord a, Bits a) => Memo a
  118
+bits :: (Num a, Ord a, Bits a) => Memo a
119 119
 bits f = IntTrie.apply (fmap f IntTrie.identity)
120 120
 
121 121
 -- | @switch p a b@ uses the memo table a whenever p gives

0 notes on commit e5e5517

Please sign in to comment.
Something went wrong with that request. Please try again.