<smart-arrow> ( quot -- quot' )
Smart arrow models


Vocabulary
models.arrow.smart

Inputs
quota quotation with stack effect ( ... -- output )


Outputs
None

Word description
A macro that expands into a form with the stack effect of the quotation. The form constructs a model which applies the quotation to values from an underlying product model having as many components as the quotation has inputs.

Examples
A model which adds the values of two existing models:
USING: models models.arrow.smart accessors kernel math prettyprint ; 1 <model> 2 <model> [ + ] <smart-arrow> [ activate-model ] [ value>> ] bi .
3


Definition