3 ms·
It doesn't give you structural typing, it's still normative: https://stackoverflow.com/a/3137561/57094 https://stackoverflow.com/a/3137561/57094
by tonyedgecombe 7y ago
It doesn't give you structural typing, it's still normative:
https://stackoverflow.com/a/3137561/57094 https://stackoverflow.com/a/3137561/57094
- goto11 7y agoNominative, not normative. Nominative means "by name", i.e. you reference types by names. A structural type (aka anonymous type) does not have a name, so cannot be referenced.
- tonyedgecombe 7y agoYes, I meant nominative.
- mmavnn 7y agoIt also has syntax for structural typing where needed.
- nbevans 7y agohttps://www.infoq.com/news/2019/01/fsharp-4.6-preview/ https://www.infoq.com/news/2019/01/fsharp-4.6-preview/