roam/20201009010657-nominal_typing.org
2021-07-29 18:51:25 -04:00

454 B

Nominal Typing

Nominal typing means that two variables are type-compatible if and only if their declarations name the same type. For example, in C, two struct types with different names in the same translation unit are never considered compatible, even if they have identical field declarations.

https://en.wikipedia.org/wiki/Nominal_type_system