change-slot ( ..a tuple name quot: ( ..a old -- ..b new ) -- ..b )


Vocabulary
slots.macros

Inputs
tuplean object
namean object
quota quotation with stack effect ( ..a old -- ..b new )


Outputs
None

Definition


: change-slot
( ..a tuple name quot: ( ..a old -- ..b new ) -- ..b )
[ [ slot ] ] dip compose [ set-slot ] 2bi ; inline