Reputation: 908
Does F# have a Nominative Type System or a Structural Type System?
I know that OCaml is structurally typed, though F# doesn't seems to be so, is this correct?
Upvotes: 13
Views: 2063
Reputation: 118865
F# is nominative. You can do a few structural tricks via some exotic mechanisms, but the type system of the language is primarily nominative.
Upvotes: 18