Handbook
Glossary
filter-corresponding ( new old -- old' )
Vocabulary
compiler
.
tree
.
dead-code
.
simple
Inputs
new
a
sequence
old
a
sequence
Outputs
old'
a
sequence
Word description
Remove elements from 'old' if the element with the same index in 'new' is dead.
Definition
USING:
assocs
;
IN:
compiler.tree.dead-code.simple
:
filter-corresponding
( new old -- old' )
zip
filter-mapping
values
;