]> gitweb.factorcode.org Git - factor.git/commitdiff
splitting-docs: add link to slice in split-when-slice 1779/head
authorAlexander Iljin <ajsoft@yandex.ru>
Fri, 13 Jan 2017 10:23:04 +0000 (13:23 +0300)
committerAlexander Iljin <ajsoft@yandex.ru>
Fri, 13 Jan 2017 10:31:53 +0000 (13:31 +0300)
core/splitting/splitting-docs.factor

index ae1e1317960849001554e9f79735cdc3aac4b823..599bdbb5f7f67dde5dfd389f55689d89510f432f 100644 (file)
@@ -58,7 +58,7 @@ HELP: split-when
 
 HELP: split-when-slice
 { $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... ? ) } } { "pieces" "a new array" } }
-{ $description "Splits " { $snippet "seq" } " at each occurrence of an element for which " { $snippet "quot" } " gives a true output and outputs an array of pieces as slices. The pieces do not include the elements along which the sequence was split." } ;
+{ $description "Splits " { $snippet "seq" } " at each occurrence of an element for which " { $snippet "quot" } " gives a true output and outputs an array of pieces as " { $link slice } "s. The pieces do not include the elements along which the sequence was split." } ;
 
 HELP: split-indices
 { $values { "seq" sequence } { "indices" sequence } { "pieces" "a new array" } }