Hacker News new | ask | show | jobs
by yawaramin 1103 days ago
OCaml's object types solve exactly this problem. And they have been around since Caml became OCaml.