reset-generic ( word -- )


Vocabulary
words

Inputs and outputs
worda word


Word description
Reset word declarations and generic word properties.

Notes
Calling this word directly is not necessary in most cases. Higher-level words call it automatically.

Side effects
Modifies word

Definition
USING: accessors definitions kernel ;

IN: words

: reset-generic ( word -- )
[ subwords forget-all ] [ reset-word ] [
f >>pic-def f >>pic-tail-def {
"methods"
"combination"
"default-method"
"engines"
"decision-tree"
} reset-props
] tri ;