diff --git a/core/make/make-docs.factor b/core/make/make-docs.factor index 3366357011..5e4e04c270 100644 --- a/core/make/make-docs.factor +++ b/core/make/make-docs.factor @@ -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 _ + ]" } ; diff --git a/core/quotations/quotations-docs.factor b/core/quotations/quotations-docs.factor index e99a7ef695..6f742007bf 100644 --- a/core/quotations/quotations-docs.factor +++ b/core/quotations/quotations-docs.factor @@ -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