document alias

db4
Doug Coleman 2008-08-29 00:00:41 -05:00
parent e91129ba10
commit cb4e9f2f77
1 changed files with 15 additions and 0 deletions

View File

@ -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"
}
} ;