]> gitweb.factorcode.org Git - factor.git/blobdiff - core/words/words-docs.factor
Docs: fixed doc example errors triggered by help-lint and added with-disposal where...
[factor.git] / core / words / words-docs.factor
index 4d08312cc71d98a12f9ffc76a5efa581d3d9372d..55390ec0e174a64d8e53d89d48647cb9ed4b9ad2 100644 (file)
@@ -1,5 +1,5 @@
 USING: definitions help.markup help.syntax kernel parser
-kernel.private vocabs classes quotations
+kernel.private vocabs classes quotations sequences
 strings effects compiler.units ;
 IN: words
 
@@ -347,13 +347,13 @@ HELP: deprecated?
 { $notes "Outputs " { $link f } " if the object is not a word." } ;
 
 HELP: subwords
-{ $values { "word" word } }
+{ $values { "word" word } { "seq" sequence } }
 { $description "Lists all specializations for the given word." }
 { $examples
   { $example
-    "USING: math.functions ;"
-    "clear \ sin subwords ."
-    "{ M\ object sin M\ complex sin M\ real sin M\ float sin }"
+    "USING: math.functions prettyprint words ;"
+    "\\ sin subwords ."
+    "{ M\\ object sin M\\ complex sin M\\ real sin M\\ float sin }"
   }
 }
 { $notes "Outputs " { $link f } " if the word isn't generic." } ;