My understanding of row polymorphism in ML is that we can access the row variable within the function.
fun f {x : real, y : real, R} = {x = 2 * x, y = 2 * y, R};
=> (* f : {x : real, y : real, _ : ..a} -> {x : real, y : real, _ : ..a} *)
f {x = 2.0, y = 3.0, z = 4.0};
=> (* it = {x = 4.0, y = 6.0, z = 4.0}; *)
Just curious if this is possible in PureScript.
I assume you want to update some properties of a record without discarding the other properties: