> myfunction {a, b, c} = println (a+b+c)
myfunction is {
.a is number,
.b is number,
.c is number
} -> () = <code$myfunction>
> myfunction {a=100, b=50, c=99}
249
> defS = {a = 10, b = 20, c = 30}
> mFn {a,b,c} = println (a + b + c)
> mFn (do x: x with {a = 100} done defS)
the last call looks a bit strange but the with in a funciton makes sure that you only override fields which are in the struct