Hacker News new | ask | show | jobs
by dragonwriter 4243 days ago
Typeclasses aren't structural typing, they are nominative typing, as typing is controlled by explicit declaration of relations between types and typeclasses, not inferred from structural properties.
1 comments

Sure they are: (forall a. X a => a) is a supertype of (forall a. (X a, Y a) => a).
I stand corrected.