twice ( quot -- ) - Factor Documentation

twice ( quot -- )
Extra combinators



Vocabulary
combinators .extras

Inputs
quot a quotation


Outputs
None

Word description
Calls a quotation two times.

Examples
The following two lines are equivalent:
[ q ] twice q q


Definition
USING: combinators.extras.private kernel ;

IN: combinators.extras

: twice ( quot -- ) callk call ; inline

AltStyle によって変換されたページ (->オリジナル) /