Proposal: Remove Show and Eq superclasses of Num

Johan Tibell johan.tibell at gmail.com
Fri Sep 16 07:54:11 CEST 2011


+1
On Sep 16, 2011 10:42 AM, "Ian Lynagh" <igloo at earth.li> wrote:
> On Fri, Sep 16, 2011 at 12:47:18AM +0100, Paterson, Ross wrote:
>> Ian Lynagh writes:
>> > I would like to propose that we remove the Show and Eq superclasses
from
>> > Num, i.e. change
>> > class (Eq a, Show a) => Num a where
>> > [...]
>> > to
>> > class Num a where
>> > [...]
>>
>> This will break client code, but will not fix other defects of Num,
>
> It doesn't solve everything, but I hope we can agree it is an
> incremental step in the right direction. I don't think a revolutionary
> change fixing all the issues is feasible. This particular blemish was
> already being described as "largely historical" more than a decade ago:
> http://www.haskell.org/pipermail/haskell/2000-October/006147.html
>
>
> Thanks
> Ian
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110915/deecf274/attachment-0001.htm>


More information about the Libraries mailing list