News for hackers. Stuff that matters.
Re:TypeScript vs. ReasonML by arthurbrown on Wednesday September 04, 2019 @09:22AM (#20876913)
They're different concepts with different ways of being expressed in OCaml.

In this case it truly is a Product and if you want to reuse a field name you'll need to enclose that type in a module.

Row polymorphic -- "thing with a name" -- is possible through the object system which is accessed through a different syntax, and works like go interfaces in practice.

There are no comments on this comment yet.