Fix loop combinator docs
parent
792df37431
commit
e49ee006d1
|
@ -644,7 +644,7 @@ $nl
|
||||||
HELP: loop
|
HELP: loop
|
||||||
{ $values
|
{ $values
|
||||||
{ "pred" quotation } }
|
{ "pred" quotation } }
|
||||||
{ $description "Calls the quotation repeatedly until the output is true." }
|
{ $description "Calls the quotation repeatedly until it outputs " { $link f } "." }
|
||||||
{ $examples "Loop until we hit a zero:"
|
{ $examples "Loop until we hit a zero:"
|
||||||
{ $unchecked-example "USING: kernel random math io ; "
|
{ $unchecked-example "USING: kernel random math io ; "
|
||||||
" [ \"hi\" write bl 10 random zero? not ] loop"
|
" [ \"hi\" write bl 10 random zero? not ] loop"
|
||||||
|
|
Loading…
Reference in New Issue