On Sun, Sep 18, 2011 at 5:19 AM, Yitzchak Gale <gale@sefer.org> wrote:
+1 on removing the Show constraint.
I abstain on the Eq constraint - either way is fine with me.
The Badness comes from the Eq instance itself. Once that
Jon Fairbairn wrote:
> But pattern matching for Double or Float is a Bad Thing, so
> wouldn’t the solution to this be to put the EQ constraint
> somewhere else, such as Integral where it would be less
> improper?
instance exists, using it for pattern matching isn't any worse
than equating with a Num literal in an expression. If we are
going to have an Eq constraint at all, it might as well be on
Num.