sebfisch/haskell-regexp — pull request #22 by iainlane (2012-02-14 23:25:44+00:00)
Title: Add additional Eq constraints for class instances with Num constraints

Hey, thanks for closing my other issue so fast. :-)

Here's one other GHC 7.4.1 thing. After this, weighted-regexp builds fine for me (also on 7.0.4).

Starting from GHC 7.4.1, the Num class no longer has Eq (or Show)
superclasses. Therefore, specifying Num as a constraing no longer
implies these class constraints, so we have to add them manually where
they are required.