LightAndLight / ipso

A functional scripting language.
https://ipso.dev
17 stars 1 forks source link

Field punning for record creation #320

Open LightAndLight opened 1 year ago

LightAndLight commented 1 year ago

Example:

let x = 1 in
let y = 2 in
let z = 3 in
{ x, y, z }

should desugar to:

let x = 1 in
let y = 2 in
let z = 3 in
{ x = x, y = y, z = z }
LightAndLight commented 9 months ago

Bump; I found myself expecting this today.