[Haskell-cafe] Inheritance and Wrappers
John Lato
jwlato at gmail.com
Tue Feb 1 13:50:25 CET 2011
On Tue, Feb 1, 2011 at 11:47 AM, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
> On 1 February 2011 11:41, John Lato <jwlato at gmail.com> wrote:
>
>> The important point is that this declares an AbGroup instance for every
>> type, not just types with Num instances.
>>
>
> So, is there a way to declare an AbGroup instance for the types with num
> instances only?
>
Not to my knowledge.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110201/f45776c4/attachment.htm>
More information about the Haskell-Cafe
mailing list