]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/splitting/extras/extras-docs.factor
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
[factor.git] / extra / splitting / extras / extras-docs.factor
index 96f497160f7404d504781980c8c5dec8dd10efb0..4f61c07849764db94ef7749f08eb508ffc35f9bb 100644 (file)
@@ -2,7 +2,7 @@ USING: help.markup help.syntax sequences splitting strings ;
 IN: splitting.extras
 
 HELP: split*-when
-{ $values { "seq" "a sequence" } { "quot" { $quotation "( ... elt -- ... ? )" } } { "pieces" "a new array" } }
+{ $values { "seq" "a sequence" } { "quot" { $quotation ( ... elt -- ... ? ) } } { "pieces" "a new array" } }
 { $description "A variant of " { $link split-when } " that includes the elements along which the sequence was split." }
 { $examples { $example "USING: ascii kernel prettyprint splitting.extras ;" "\"hello,world-how.are:you\" [ letter? not ] split*-when ." "{ \"hello\" \",\" \"world\" \"-\" \"how\" \".\" \"are\" \":\" \"you\" }" } } ;
 
@@ -12,5 +12,5 @@ HELP: split*
 { $examples { $example "USING: prettyprint splitting.extras ;" "\"hello world-how are you?\" \" -\" split* ." "{ \"hello\" \" \" \"world\" \"-\" \"how\" \" \" \"are\" \" \" \"you?\" }" } } ;
 
 HELP: split-find
-{ $values { "seq" "a sequence" } { "quot" { $quotation "( seq -- i )" } } { "pieces" "a new array" } }
+{ $values { "seq" "a sequence" } { "quot" { $quotation ( seq -- i ) } } { "pieces" "a new array" } }
 { $description "Splits a sequence into slices using the provided quotation to find split points." } ;