2 ms·
> Like Python, Haskell does not require you do "assert that x is a Collator" before doing some collation. It tends not to lead to complex hierarchies. It tends
by seanmcdirmid 12y ago
> Like Python, Haskell does not require you do "assert that x is a Collator" before doing some collation. It tends not to lead to complex hierarchies.
It tends not to lead to hierarchies at all, with the whole subtype polymorphism thing not being supported.
> They have rather more to do with manifest/nominal vs. inferred/structural typing
Type inference can be supported in nominal type systems, it just hasn't been explored as much; and there are languages like scala that at least do local type inference while having nominal constructs.