math-docs: fix `times` documentation
The word `each` used to loop over integers in the past, but it does not anymore.master
parent
5c3efc5cee
commit
671aa228f3
|
@ -312,7 +312,7 @@ HELP: unless-zero
|
||||||
HELP: times
|
HELP: times
|
||||||
{ $values { "n" integer } { "quot" quotation } }
|
{ $values { "n" integer } { "quot" quotation } }
|
||||||
{ $description "Calls the quotation " { $snippet "n" } " times." }
|
{ $description "Calls the quotation " { $snippet "n" } " times." }
|
||||||
{ $notes "If you need to pass the current index to the quotation, use " { $link each } "." }
|
{ $notes "If you need to pass the current index to the quotation, use " { $link each-integer } "." }
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example "USING: io math ;" "3 [ \"Hi\" print ] times" "Hi\nHi\nHi" }
|
{ $example "USING: io math ;" "3 [ \"Hi\" print ] times" "Hi\nHi\nHi" }
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Reference in New Issue