Handbook
Glossary
instances ( quot -- seq )
Factor handbook
»
Developer tools
»
Object memory tools
Prev:
code-room ( -- mark-sweep-sizes )
Next:
size ( obj -- n )
Vocabulary
memory
Inputs
quot
a
quotation
with stack effect
( obj -- ? )
Outputs
seq
a fresh sequence
Word description
Outputs a sequence of all objects in the heap which satisfy the quotation.
Definition
USING:
kernel
sequences
;
IN:
memory
:
instances
( quot -- seq )
[
all-instances
]
dip
filter
;
inline