4 ms·
Haskell does have interface inheritance with type classes.
by JulianMorrison 18y ago
Haskell does have interface inheritance with type classes.
- jrockway 18y agoThis is more like trait composition (1) than inheritance. I don't consider this a downside, though, as I almost always choose trait composition over sub-typing when I am using a more OO-ish language. (1) http://www.iam.unibe.ch/~scg/Research/Traits/ http://www.iam.unibe.ch/~scg/Research/Traits/