Handbook
Glossary
watch ( word -- )
Factor handbook
»
Developer tools
»
Word annotations
Next:
watch-vars ( word vars -- )
Vocabulary
tools
.
annotations
Inputs
word
a
word
Outputs
None
Word description
Annotates a word definition to print the data stack on entry and exit.
See also
watch-vars
,
reset
Definition
USING:
kernel
tools.annotations.private
;
IN:
tools.annotations
:
watch
( word -- )
dup
[
]
curry
[
dip
(watch)
]
curry
annotate
;