Handbook
Glossary
define-alias ( new old -- )
Factor handbook
»
The language
»
Words
»
Word aliasing
Prev:
ALIAS:
Vocabulary
words
.
alias
Inputs
new
an
object
old
an
object
Outputs
None
See also
ALIAS:
Definition
USING:
effects
kernel
quotations
words
;
IN:
words.alias
:
define-alias
( new old -- )
[
[
1quotation
]
[
stack-effect
]
bi
define-inline
]
[
drop
t
"alias"
set-word-prop
]
[
parsing-word?
[
t
"parsing"
set-word-prop
]
[
drop
]
if
]
2tri
;