document alias
parent
e91129ba10
commit
cb4e9f2f77
|
@ -0,0 +1,15 @@
|
||||||
|
USING: kernel words help.markup help.syntax ;
|
||||||
|
IN: alias
|
||||||
|
|
||||||
|
HELP: ALIAS:
|
||||||
|
{ $syntax "ALIAS: new-word existing-word" }
|
||||||
|
{ $values { "new-word" word } { "existing-word" word } }
|
||||||
|
{ $description "Creates a " { $snippet "new" } " inlined word that calls the " { $snippet "existing" } " word." }
|
||||||
|
{ $examples
|
||||||
|
{ $example "ALIAS: sequence-nth nth"
|
||||||
|
"0 { 10 20 30 } sequence-nth"
|
||||||
|
"10"
|
||||||
|
}
|
||||||
|
} ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue