change-xyz ( point obj x: ( x obj -- x' ) y: ( y obj -- y' ) z: ( z obj -- z' ) -- point )


Vocabulary
benchmark.struct-arrays

Inputs
pointan object
objan object
xa quotation with stack effect ( x obj -- x' )
ya quotation with stack effect ( y obj -- y' )
za quotation with stack effect ( z obj -- z' )


Outputs
pointan object


Definition


: change-xyz
( point obj x: ( x obj -- x' ) y: ( y obj -- y' ) z: ( z obj -- z' ) -- point )
tri-curry [ change-x ] [ change-y ] [ change-z ] tri* ;
inline