Quick - ¿
- While Loop
Characters: ¿
Tags: boolean
Arity: same
The resulting link's arity is the same as the consumed link's arity. Note that the arity refers to that of the resulting link, not the number of links this quick consumes.
Functionality
Repeat a link while a condition is true.
Details
If the link is dyadic, after the first iteration, the previous result is the left argument and the result before that (the left argument is the initial result) is the right argument. This returns the result that makes the condition false, not the last truthy result.
Syntax
<link><condition>¿
- a link whose arity is the maximum of<link>
's and<condition>
's, which applies the link as long as the condition is true