Are OCaml records structurally typed or nominally typed?

Records are nominally typed, but objects are structurally typed. They are even given as the example on Structural type system - Wikipedia :slight_smile:

2 Likes