Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
bi-curry@ ( x y q -- p' q' )
Factor documentation
>
Factor handbook
>
The language
>
Combinators
>
Compositional combinators
>
Curried dataflow combinators
Prev:
tri-curry* ( x y z p q r -- p' q' r' )
Next:
tri-curry@ ( x y z q -- p' q' r' )
Vocabulary
kernel
Inputs and outputs
x
an
object
y
an
object
q
a
quotation
with stack effect
( obj -- ... )
p'
[ x q ]
q'
[ y q ]
Word description
Partially applies
q
to
x
and
y
.
Notes
The following two lines are equivalent:
[ q ] bi-curry@ [ q ] [ q ] bi-curry*
Definition
USING:
kernel.private
;
IN:
kernel
:
bi-curry@
( x y q -- p' q' )
[curry]
bi@
;
inline