Handbook
Glossary
watch-vars ( word vars -- )
Factor handbook
»
Developer tools
»
Word annotations
Prev:
watch ( word -- )
Next:
<WATCH
Vocabulary
tools
.
annotations
Inputs
word
a
word
vars
a sequence of symbols
Outputs
None
Word description
Annotates a word definition to print the
vars
upon entering the word. This word is useful for debugging.
See also
watch
,
reset
Definition
USING:
kernel
tools.annotations.private
;
IN:
tools.annotations
:
watch-vars
( word vars -- )
dupd
[
]
2curry
[
dip
(watch-vars)
]
curry
annotate
;