
19 Mar
2012
19 Mar
'12
9:21 p.m.
On Mon, Mar 19, 2012 at 7:16 PM, Richard O'Keefe
One problem with hooking functions into the Haskell numeric classes is right at the beginning:
class (Eq a, Show a) => Num a
This is true in base 4.4, but is no longer true in base 4.5. Hence my earlier comment about if you're willing to depend on a recent version of base. Effectively, this means requiring a recent GHC, since I'm pretty sure base is not independently installable. -- Chris Smith