3 ms·
To clarify, the thing I want is to make it nice and simple to create a new record with a nested field updated. It's easy to read a.b.c.d, but updating that fiel
by pbiggar 6y ago
To clarify, the thing I want is to make it nice and simple to create a new record with a nested field updated. It's easy to read a.b.c.d, but updating that field painful:
let a = {a with b = { a.b with c = { a.b.c with d = 5 } } } }