8 ms·
Haskell's typeclass provide it.
by tel 12y ago
Haskell's typeclass provide it.
- dragonwriter 12y agoTypeclasses 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.
- tel 12y agoSure they are: (forall a. X a => a) is a supertype of (forall a. (X a, Y a) => a).
- dragonwriter 12y agoI stand corrected.