3 ms·
The whole point of row polymorphism (for both records and variants) is that it allow for implementing open types in a static typing context. And OCaml supports
by zozbot234 7y ago
The whole point of row polymorphism (for both records and variants) is that it allow for implementing open types in a static typing context. And OCaml supports this out of the box whereas Haskell does not.
- yakshaving_jgt 7y agoYes, that’s true. I’m not disputing that. Perhaps I misinterpreted your previous comment. I think the point I want to make is that in the argument between static vs dynamic, the structural vs nominal argument is not really relevant.