depends-on ( word how -- )


Vocabulary
stack-checker.dependencies

Definition
USING: assocs kernel namespaces words ;

IN: stack-checker.dependencies

: depends-on ( word how -- )
over primitive?
[ 2drop ] [
dependencies get dup
[ swap [ strongest-dependency ] curry change-at ]
[ 3drop ] if
] if ;