Apparently, in GHC 7.3 (and possibly in earlier versions -- I didn't investigate), putting a SPECIALIZE pragma inside a class definition block attempts to specialize the default implementation (only). This is a bit nonsense if there's no default implementation. So here's a patch that lifts the pragmas out of the class definition block to the top-level.
Apparently, in GHC 7.3 (and possibly in earlier versions -- I didn't investigate), putting a SPECIALIZE pragma inside a class definition block attempts to specialize the default implementation (only). This is a bit nonsense if there's no default implementation. So here's a patch that lifts the pragmas out of the class definition block to the top-level.