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

Next:define-alias ( new old -- )


Vocabulary
syntax

Syntax
ALIAS: new-word existing-word


Inputs
None

Outputs
None

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