BSL doc typos
Hi, I found two typos in the explanations of lisp-style list accessors. Patch attached. Thanks, s. Signed-off-by: Matthias Felleisen <matthias@ccs.neu.edu>
This commit is contained in:
parent
536e3887bc
commit
95aed5396a
|
@ -570,7 +570,7 @@
|
||||||
@interaction[#:eval (bsl) x (cddr x)]
|
@interaction[#:eval (bsl) x (cddr x)]
|
||||||
}
|
}
|
||||||
@defproc[(caddr [x list?]) any/c]{
|
@defproc[(caddr [x list?]) any/c]{
|
||||||
LISP-style selector: @racket[(caddr x)].
|
LISP-style selector: @racket[(car (cdr (cdr x)))].
|
||||||
@interaction[#:eval (bsl) x (caddr x)]
|
@interaction[#:eval (bsl) x (caddr x)]
|
||||||
}
|
}
|
||||||
@defproc[(caadr [x list?]) any/c]{
|
@defproc[(caadr [x list?]) any/c]{
|
||||||
|
@ -582,7 +582,7 @@
|
||||||
@interaction[#:eval (bsl) w (caaar w)]
|
@interaction[#:eval (bsl) w (caaar w)]
|
||||||
}
|
}
|
||||||
@defproc[(cdaar [x list?]) any/c]{
|
@defproc[(cdaar [x list?]) any/c]{
|
||||||
LISP-style selector: @racket[(cdr (cadr (car x)))].
|
LISP-style selector: @racket[(cdr (car (car x)))].
|
||||||
@interaction[#:eval (bsl) w (cdaar w)]
|
@interaction[#:eval (bsl) w (cdaar w)]
|
||||||
}
|
}
|
||||||
@defproc[(cdadr [x list?]) any/c]{
|
@defproc[(cdadr [x list?]) any/c]{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user