]> gitweb.factorcode.org Git - factor.git/commitdiff
splitting: fix docs for split1-when.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 18 Apr 2012 22:59:08 +0000 (15:59 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 18 Apr 2012 22:59:08 +0000 (15:59 -0700)
core/splitting/splitting-docs.factor

index 6b0667456182d9cfe0ee75930908925e1682372a..8ef2f1e0e2ec0dc3c960a26b07c059a50e7e6581 100644 (file)
@@ -30,7 +30,7 @@ HELP: split1-slice
 { $description "Splits " { $snippet "seq" } " at the first occurrence of " { $snippet "subseq" } ", and outputs the pieces before and after the split as slices. If " { $snippet "subseq" } " does not occur in " { $snippet "seq" } ", then " { $snippet "before" } " is just " { $snippet "seq" } " and " { $snippet "after" } " is " { $link f } "." } ;
 
 HELP: split1-when
-{ $values { "seq" "a sequence" } { "quot" { $quotation "( ... elt -- ... ? )" } } { "pieces" "a new array" } }
+{ $values { "seq" "a sequence" } { "quot" { $quotation "( ... elt -- ... ? )" } } { "before" "a new sequence" } { "after" "a new sequence" } }
 { $description "Splits " { $snippet "seq" } " at the first occurrence of an element for which " { $snippet "quot" } " gives a true output and outputs the pieces before and after the split." } ;
 
 HELP: split1-last