Handbook
Glossary
2cleave ( x y seq -- )
Factor handbook
»
The language
»
Combinators
»
Dataflow combinators
»
Cleave combinators
Prev:
cleave ( x seq -- )
Next:
3cleave ( x y z seq -- )
Vocabulary
combinators
Inputs
x
an
object
y
an
object
seq
a sequence of quotations with stack effect
( x y -- ... )
Outputs
None
Word description
Applies each quotation to the two objects in turn.
Definition
USING:
kernel
sequences
;
IN:
combinators
:
2cleave
( x y seq -- )
[
2keep
]
each
2drop
;