Handbook
Glossary
article-parents ( article-name -- parents )
Vocabulary
fuel
.
help
Inputs
article-name
a
string
Outputs
parents
a
sequence
Word description
All the parent articles for the article and ensures that the ancestor always is 'handbook'.
Definition
USING:
help.topics
kernel
sequences
;
IN:
fuel.help
:
article-parents
( article-name -- parents )
[
article-parent
]
follow
dup
last
"handbook"
=
[
"handbook"
suffix
]
unless
reverse
but-last
;