]> gitweb.factorcode.org Git - factor.git/commitdiff
stack-checker: minor help-lint fixes.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 5 Feb 2015 15:22:15 +0000 (07:22 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 5 Feb 2015 15:22:15 +0000 (07:22 -0800)
basis/stack-checker/backend/backend-docs.factor
basis/stack-checker/recursive-state/recursive-state-docs.factor
basis/stack-checker/visitor/visitor-docs.factor

index 9dc88345d040ce33504b13e9aae1b28fd3b1d7fe..1e302718501123c9ec837ee794c7a2704b201fa7 100644 (file)
@@ -6,8 +6,8 @@ HELP: consume-d
 { $values { "n" integer } { "seq" sequence } }
 { $description "Consumes 'n' items from the compile time data stack." }
 { $examples
-  { $example
-    "USING: namespaces prettyprint stack-checker.backend ;"
+  { $unchecked-example
+    "USING: kernel namespaces prettyprint stack-checker.backend stack-checker.values ;"
     "0 \ <value> set-global [ 3 consume-d ] with-infer 2drop ."
     "V{ 1 2 3 }"
   }
index 3182ed255ed2eb360191431204e2a57c131c4983..84a6dbea7cc02122af2d72678b8dbc9a2701998b 100644 (file)
@@ -1,6 +1,6 @@
-USING: compiler.tree effects help.markup help.syntax math quotations ;
+USING: compiler.tree effects help.markup help.syntax kernel math quotations ;
 IN: stack-checker.recursive-state
 
 HELP: recursive-quotation?
-{ $values { "quot" quotation } }
+{ $values { "quot" quotation } { "?" boolean } }
 { $description "Checks if the quotation is among the registered recursive quotations." } ;
index 3a63af0bae7513c2043737f96409d2d3c6840e49..6713feeb62306006b5d28fcdd20a21facfd2d331 100644 (file)
@@ -14,4 +14,4 @@ HELP: #>r,
 
 HELP: #drop,
 { $values { "values" sequence } }
-{ $class-description "Outputs a " { $link #shuffle } " instruction which drops one or more values from the data stack." } ;
+{ $description "Outputs a " { $link #shuffle } " instruction which drops one or more values from the data stack." } ;