Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
until ( ..a pred: ( ..a -- ..b ? ) body: ( ..b -- ..a ) -- ..b )
Factor documentation
>
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 and outputs
pred
a
quotation
with stack effect
( ..a -- ..b ? )
body
a
quotation
with stack effect
( ..b -- ..a )
Word description
Calls
body
until
pred
returns
t
.
Definition
IN:
kernel
:
until
( ..a pred: ( ..a -- ..b ? ) body: ( ..b -- ..a ) -- ..b )
[
[
not
]
compose
]
dip
while
;
inline