]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: fix stack effect help for when-empty
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 7 Oct 2022 22:17:48 +0000 (17:17 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 7 Oct 2022 22:21:51 +0000 (17:21 -0500)
core/sequences/sequences-docs.factor

index e46441de9512f14512ec54df3155739c0c8660d4..cc1bc5f4bfc22a9678945941d607f16aafd98241 100644 (file)
@@ -92,7 +92,9 @@ HELP: if-empty
 
 HELP: when-empty
 { $values
-     { "seq" sequence } { "quot" "the first quotation of an " { $link if-empty } } }
+    { "seq" sequence } { "quot" "the first quotation of an " { $link if-empty } }
+    { "seq/obj" object }
+}
 { $description "Makes an implicit check if the sequence is empty. An empty sequence is dropped and the " { $snippet "quot" } " is called." }
 { $examples "This word is equivalent to " { $link if-empty } " with an empty second quotation:"
     { $example