Hacker News new | ask | show | jobs
by ernst_klim 2514 days ago
> in ML style languages because they do not make use of inheritence.

Except for OCaml and Scala (or any other ML supporting subtyping), where you could simply define type's variance.