VocabularyeffectsInputsin | a sequence of strings or string–type pairs |
out | a sequence of strings or string–type pairs |
terminated? | a boolean |
OutputsWord descriptionConstructs an
effect object like
<effect>. If
terminated? is true, the value of
out is ignored, and a terminating stack effect is constructed.
NotesThis word cannot construct effects with
Stack effect row variables. Use
<variable-effect> to construct variable stack effects.
ExamplesUSING: effects prettyprint ;
{ "a" { "b" ( x y -- z ) } } { "c" } f <terminated-effect> .
( a b: ( x y -- z ) -- c )
USING: effects prettyprint ;
{ "a" { "b" ( x y -- z ) } } { } t <terminated-effect> .
( a b: ( x y -- z ) -- * )
See also<effect>,
<variable-effect>Definition