[Haskell-beginners] How to manage typeclass hierarchies and instances?

Brandon Allbery allbery.b at gmail.com
Sun Feb 22 00:04:02 UTC 2015


On Sat, Feb 21, 2015 at 6:44 PM, Michael Orlitzky <michael at orlitzky.com>
wrote:

> I don't think you can do that


You can't, at present. (Note: Typeclasses are not OOP classes; `class (Num
a, Group a) => Additive a` does not declare superclasses, but
prerequisites.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150221/71308dc8/attachment.html>


More information about the Beginners mailing list