compose ( quot1 quot2 -- compose )
Callables

Prev:curried
Next:composed


Vocabulary
kernel

Inputs
quot1a callable
quot2a callable


Outputs
composea composed


Word description
Quotation composition. Outputs a callable which calls quot1 followed by quot2.

Notes
The following two lines are equivalent:
compose call append call

However, compose runs in constant time, and the optimizing compiler is able to compile code which calls composed quotations.

See also
curry, curried, prepose, composed

Definition