binary-op ( stack quot: ( x y -- z ) -- stack )


Vocabulary
rpn

Inputs
stackan object
quota quotation with stack effect ( x y -- z )


Outputs
stackan object


Definition


: binary-op ( stack quot: ( x y -- z ) -- stack )
[ uncons uncons swapd ] dip dip cons ; inline