From 94e64b6e9c82ee44d5e14c84954f6004b64774df Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sun, 3 May 2009 21:14:44 -0700 Subject: [PATCH] Add docs for load-all-under and all-vocabs-under --- basis/tools/vocabs/vocabs-docs.factor | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/basis/tools/vocabs/vocabs-docs.factor b/basis/tools/vocabs/vocabs-docs.factor index 33f197d0ea..98902f8fe6 100644 --- a/basis/tools/vocabs/vocabs-docs.factor +++ b/basis/tools/vocabs/vocabs-docs.factor @@ -73,3 +73,11 @@ HELP: set-vocab-tags HELP: all-vocabs { $values { "assoc" "an association list mapping vocabulary roots to sequences of vocabulary specifiers" } } { $description "Outputs an association list of all vocabularies which have been loaded or are available for loading." } ; + +HELP: load-all-under +{ $values { "prefix" string } } +{ $description "Load all vocabularies that match the provided prefix." } ; + +HELP: all-vocabs-under +{ $values { "prefix" string } } +{ $description "Return a sequence of vocab or vocab-links for each vocab matching the provided prefix. Unlike " { $link all-child-vocabs } " this word will return both loaded and unloaded vocabularies." } ;