Small typos in guide.

This commit is contained in:
Sam Tobin-Hochstadt 2019-10-21 21:24:09 -04:00
parent b55cc89166
commit f01a561c47
3 changed files with 3 additions and 3 deletions

View File

@ -271,7 +271,7 @@ usually not worthwhile, as discussed below.}
[(empty? lst) (reverse backward-result)] [(empty? lst) (reverse backward-result)]
[else (iter (rest lst) [else (iter (rest lst)
(cons (f (first lst)) (cons (f (first lst))
backward-result))])) backward-result))]))
(iter lst empty)) (iter lst empty))
] ]

View File

@ -158,7 +158,7 @@ The same shorthands can be used in expressions:
`(1 2 `(,(+ 1 2) ,,(- 5 1))) `(1 2 `(,(+ 1 2) ,,(- 5 1)))
] ]
The shorthand for of @racket[unquote-splicing] is @litchar[",@"]: The shorthand form of @racket[unquote-splicing] is @litchar[",@"]:
@examples[ @examples[
`(1 2 ,@(list (+ 1 2) (- 5 1))) `(1 2 ,@(list (+ 1 2) (- 5 1)))

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@(require scribble/manual scribble/eval "guide-utils.rkt") @(require scribble/manual scribble/eval "guide-utils.rkt")
@title[#:tag "quote"]{Quoting: @racket[quote] and @racketvalfont{'}} @title[#:tag "quote"]{Quoting: @racket[quote] and @litchar{'}}
@refalso["quote"]{@racket[quote]} @refalso["quote"]{@racket[quote]}