Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1837

RFC: Nested record definitions

$
0
0

The proposal makes perfect sense when I understand records as immutable memory layouts that can no longer be split.

TypeScript’s structs have a quite different effect, since they allow declarations to be reinterpreted based on their structure. That seems pretty detrimental in a nominal language like ReScript.


Viewing all articles
Browse latest Browse all 1837

Trending Articles