ALIAS:
Factor handbook > The language > Words > Word aliasing

Next:define-alias ( new old -- )


Vocabulary
syntax

Syntax
ALIAS: new-word existing-word


Inputs and outputs
new-worda word
existing-worda word


Word description
Creates a new inlined word that calls the existing word.

Examples
USING: prettyprint sequences ; IN: alias.test ALIAS: sequence-nth nth 0 { 10 20 30 } sequence-nth .
10


See also
define-alias

Definition