roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 313 forks source link

Add postfix record update syntax #7226

Open hrishisd opened 1 day ago

hrishisd commented 1 day ago

Adds an alternate post-fix syntax for record updates

newRecord = { foo: 123, bar: "abc", ..oldRecord } 

Closes #7097