22 ms·
function types are structural in most nominally-typed languages I have used, perhaps a poor example?
by de_keyboard 5y ago
function types are structural in most nominally-typed languages I have used, perhaps a poor example?
- grumpyprole 5y agoAre you sure? What language are you referring to? For example, although Java method definitions are essentially defined in terms of tuples, function classes and objects in Java are all entirely nominal.