Handbook
Glossary
until ( ..a pred: ( ..a -- ..b ? ) body: ( ..b -- ..a ) -- ..b )
Factor handbook
»
The language
»
Combinators
»
Looping combinators
Prev:
while ( ..a pred: ( ..a -- ..b ? ) body: ( ..b -- ..a ) -- ..b )
Next:
do ( pred body -- pred body )
Vocabulary
kernel
Inputs
pred
a
quotation
with stack effect
( ..a -- ..b ? )
body
a
quotation
with stack effect
( ..b -- ..a )
Outputs
None
Word description
Calls
body
until
pred
returns
t
.
Definition
IN:
kernel
:
until
( ..a pred: ( ..a -- ..b ? ) body: ( ..b -- ..a ) -- ..b )
[
negate
]
dip
while
;
inline