link to fry examples article from fry word docs

db4
Joe Groff 2009-11-06 23:37:55 -06:00
parent 2352792502
commit 379246d6e0
1 changed files with 6 additions and 3 deletions

View File

@ -2,17 +2,20 @@ USING: help.markup help.syntax quotations kernel ;
IN: fry
HELP: _
{ $description "Fry specifier. Inserts a literal value into the fried quotation." } ;
{ $description "Fry specifier. Inserts a literal value into the fried quotation." }
{ $examples "See " { $link "fry.examples" } "." } ;
HELP: @
{ $description "Fry specifier. Splices a quotation into the fried quotation." } ;
{ $description "Fry specifier. Splices a quotation into the fried quotation." }
{ $examples "See " { $link "fry.examples" } "." } ;
HELP: fry
{ $values { "quot" quotation } { "quot'" quotation } }
{ $description "Outputs a quotation that when called, fries " { $snippet "quot" } " by taking values from the stack and substituting them in." }
{ $notes "This word is used to implement " { $link POSTPONE: '[ } "; the following two lines are equivalent:"
{ $code "[ X ] fry call" "'[ X ]" }
} ;
}
{ $examples "See " { $link "fry.examples" } "." } ;
HELP: '[
{ $syntax "'[ code... ]" }