undo/redo ( document source-quot dest-quot do-quot -- )


Vocabulary
documents.private

Inputs
documentan object
source-quotan object
dest-quotan object
do-quotan object


Outputs
None

Definition


: undo/redo ( document source-quot dest-quot do-quot -- )
[ dupd call [ drop ] ] 2dip
'[ pop swap [ @ push ] _ 2bi ] if-empty ; inline