Minor doc cleanup.

db4
Brad Christensen 2010-02-01 21:05:37 -07:00
parent 748f4d7244
commit 1404bf71d5
2 changed files with 3 additions and 3 deletions

View File

@ -25,14 +25,14 @@ $nl
"is equivalent to" "is equivalent to"
{ $code "[ reverse ] map concat" } { $code "[ reverse ] map concat" }
{ $heading "Utilities for simple make patterns" } { $heading "Utilities for simple make patterns" }
"Sometimes, an existing word already implements a specific " { $link make } " usage. For example, " { $link suffix } " is equivalent to the following, with the added caveat that the below example always outputs an array:" "Sometimes, an existing word already implements a specific " { $link make } " usage. For example, " { $link prefix } " is equivalent to the following, with the added caveat that the below example always outputs an array:"
{ $code "[ , % ] { } make" } { $code "[ , % ] { } make" }
"The existing utility words can in some cases express intent better than a bunch of " { $link , } " and " { $link % } "." "The existing utility words can in some cases express intent better than a bunch of " { $link , } " and " { $link % } "."
{ $heading "Constructing quotations" } { $heading "Constructing quotations" }
"Simple quotation construction can often be accomplished using " { $link "fry" } " and " { $link "compositional-combinators" } "." "Simple quotation construction can often be accomplished using " { $link "fry" } " and " { $link "compositional-combinators" } "."
$nl $nl
"For example," "For example,"
{ $code "[ 2 , , \ + , ] [ ] make" } { $code "[ 2 , , \\ + , ] [ ] make" }
"is better expressed as" "is better expressed as"
{ $code "'[ 2 _ + ]" } ; { $code "'[ 2 _ + ]" } ;

View File

@ -26,7 +26,7 @@ $nl
"Although quotations can be treated as sequences, the compiler will be unable to reason about quotations manipulated as sequences at runtime. " { $link "compositional-combinators" } " are provided for runtime partial application and composition of quotations." ; "Although quotations can be treated as sequences, the compiler will be unable to reason about quotations manipulated as sequences at runtime. " { $link "compositional-combinators" } " are provided for runtime partial application and composition of quotations." ;
ARTICLE: "wrappers" "Wrappers" ARTICLE: "wrappers" "Wrappers"
"Wrappers evaluate to the object being wrapped when encountered in code. They are are used to suppress the execution of " { $link "words" } " so that they can be used as values." "Wrappers evaluate to the object being wrapped when encountered in code. They are used to suppress the execution of " { $link "words" } " so that they can be used as values."
{ $subsections { $subsections
wrapper wrapper
literalize literalize