]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix help lint for when*,unless*
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 23 Aug 2011 19:14:33 +0000 (12:14 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 23 Aug 2011 19:28:16 +0000 (12:28 -0700)
core/kernel/kernel-docs.factor

index 1fbd7c64dccd36a7a86105e5198a4c79db97bdb5..892850ad4c2033c94225139b0e582a59df33b200 100644 (file)
@@ -656,14 +656,14 @@ $nl
 } ;
 
 HELP: when*
-{ $values { "?" "a generalized boolean" } { "true" { $quotation "( cond -- ... )" } } }
+{ $values { "?" "a generalized boolean" } { "true" { $quotation "( ..a ? -- ..a )" } } }
 { $description "Variant of " { $link if* } " with no false quotation."
 $nl
 "The following two lines are equivalent:"
 { $code "X [ Y ] when*" "X dup [ Y ] [ drop ] if" } } ;
 
 HELP: unless*
-{ $values { "?" "a generalized boolean" } { "false" "a quotation " } }
+{ $values { "?" "a generalized boolean" } { "false" { $quotation "( ..a -- ..a x )" } } { "x" object } }
 { $description "Variant of " { $link if* } " with no true quotation." }
 { $notes
 "The following two lines are equivalent:"