Re:Migrate Jest to TypeScript
by zeugmasyllepsis on Wednesday January 16, 2019 @10:00AM
(#18921344)
I'm certainly not well versed in OCaml, but my understanding is that it is also structurally typed. This particular example would also be permitted in OCaml, correct?
[ Parent
| on HN ]
No, records are nominally typed in OCaml, thus the two types `A` and `B` would be deemed incompatible.