append-outputs ( quot -- seq ) (original) (raw)

Vocabulary
combinators.smart

Inputs

quot a quotation

Outputs

seq a sequence

Word description
Infers the number of outputs from quot and returns a sequence of the outputs appended.

Examples

USING: combinators.smart prettyprint ; [ { 1 2 } { "A" "b" } ] append-outputs .
{ 1 2 "A" "b" }

See also
append-outputs-as

Definition

IN: combinators.smart

: append-outputs ( quot -- seq ) { } append-outputs-as ; inline