Minor doc cleanup.
parent
748f4d7244
commit
1404bf71d5
|
@ -25,14 +25,14 @@ $nl
|
|||
"is equivalent to"
|
||||
{ $code "[ reverse ] map concat" }
|
||||
{ $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" }
|
||||
"The existing utility words can in some cases express intent better than a bunch of " { $link , } " and " { $link % } "."
|
||||
{ $heading "Constructing quotations" }
|
||||
"Simple quotation construction can often be accomplished using " { $link "fry" } " and " { $link "compositional-combinators" } "."
|
||||
$nl
|
||||
"For example,"
|
||||
{ $code "[ 2 , , \ + , ] [ ] make" }
|
||||
{ $code "[ 2 , , \\ + , ] [ ] make" }
|
||||
"is better expressed as"
|
||||
{ $code "'[ 2 _ + ]" } ;
|
||||
|
||||
|
|
|
@ -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." ;
|
||||
|
||||
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
|
||||
wrapper
|
||||
literalize
|
||||
|
|
Loading…
Reference in New Issue