[]→⊤, []→boolean, []→⊤
Source: /avail/Avail/Foundation/Control Structures
Categories: Control Structures, Loops
Conditional loop with alternation.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | action | []→⊤ | The function to apply repeatedly while predicate answers false. Never applied if predicate never answers false. | |
2 | predicate | []→boolean | The function that guards repeated application of action. | |
3 | between | []→⊤ | The function to apply between applications of action. | |
Returns | ⊤ |