adding-function ( t1 t2 active-object -- function )


Vocabulary
rosetta-code.active-object

Inputs
t1an object
t2an object
active-objectan object


Outputs
functionan object


Definition


:: adding-function ( t1 t2 active-object -- function )
t2 t1 active-object function>> apply-stack-effect bi@ +
t2 t1 - * 2 / [ + ] curry ;