Trying to compile data-memocombinators 0.4.3 received the following error:
Data/MemoCombinators.hs:119:10: Could not deduce (Num a) arising from a use of `IntTrie.apply' from the context (Ord a, Bits a)
I think Bits was obtained from Num . Perhaps this was bad, and the dependency was removed, but now the package is broken. Is there a known solution for this? Maybe I'm using a bad version of something?
I added Num a to the function signature in my copy of the package, but in the long run this may be wrong.
I am using GHC 7.6.1, base 4.6.0.0.
source share