change-of ( ..a assoc key quot: ( ..a value -- ..b newvalue ) -- ..b assoc )


Vocabulary
assocs.extras

Inputs
assocan object
keyan object
quota quotation with stack effect ( ..a value -- ..b newvalue )


Outputs
assocan object


Definition


: change-of
( ..a assoc key quot: ( ..a value -- ..b newvalue ) -- ..b assoc )
[ [ of ] dip call ] 2keepd rot set-of ; inline