]> gitweb.factorcode.org Git - factor.git/commitdiff
Add docs for load-all-under and all-vocabs-under
authorNicholas Seckar <nseckar@gmail.com>
Mon, 4 May 2009 04:14:44 +0000 (21:14 -0700)
committerNicholas Seckar <nseckar@gmail.com>
Mon, 4 May 2009 04:14:44 +0000 (21:14 -0700)
basis/tools/vocabs/vocabs-docs.factor

index 33f197d0ea8d7f37ba81c3ea1ff42af2e16129cd..98902f8fe6c5ef0dea99d82c63b283460ec159c3 100644 (file)
@@ -73,3 +73,11 @@ HELP: set-vocab-tags
 HELP: all-vocabs\r
 { $values { "assoc" "an association list mapping vocabulary roots to sequences of vocabulary specifiers" } }\r
 { $description "Outputs an association list of all vocabularies which have been loaded or are available for loading." } ;\r
+\r
+HELP: load-all-under\r
+{ $values { "prefix" string } }\r
+{ $description "Load all vocabularies that match the provided prefix." } ;\r
+\r
+HELP: all-vocabs-under\r
+{ $values { "prefix" string } }\r
+{ $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." } ;\r