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

RFC: Nested record definitions

$
0
0

They’d work by themselves, they’ll be an actual defined type to the compiler. It’s just that (in this proposal as of now) referring to them by typename can’t be done without using escaped identifiers, or by using the @as annotation. Your example above would work just fine because it’d be inferred to be the persist type.


Viewing all articles
Browse latest Browse all 1942

Trending Articles