Do_until_

Definitions:

[]→⊤, []→boolean
Source: /avail/Avail/Foundation/Control Structures
Categories: Control Structures, Loops
Basic conditional loop. Invoke action and then predicate. If predicate answers false, then repeat.
Position Name Type Description
Parameters
1 action []→⊤ The function to apply once and then again whenever predicate answers false.
2 predicate []→boolean The function that guards repeated application of action.
Returns

Semantic restrictions:

[]→⊤'s type, []→boolean's type
Source: /avail/Avail/Foundation/Control Structures
If action does not terminate or predicate certainly answers false, then answer ⊥ (because the loop will run forever).
Type Description
Parameter Types
[]→⊤'s type
[]→boolean's type