Vocabulary
assocs

Inputs
keya key
assocan assoc


Outputs
value/fthe previous value or f
?a boolean


Word description
Removes an entry from the assoc and outputs the previous value together with a boolean indicating whether it was present.

Side effects
Modifies assoc

Definition


: delete-at* ( key assoc -- value/f ? )
[ at* ] 2keep delete-at ;