commit 0562921c6752ae78c61bf64135d6fd86495b054d
parent bdd98becd6d14c9aae35202ffb92fa927d4c1485
Author: Suzanne Soy <jsmaniac.github@suzanne.soy>
Date: Wed, 28 Jul 2021 19:54:00 +0100
Fixed syntax error in documentation
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scribblings/anaphoric.scrbl b/scribblings/anaphoric.scrbl
@@ -157,7 +157,7 @@ using @racket[it].
@section{Anaphoric map and filter}
-@defform[[(amap body lst)]]{
+@defform[(amap body lst)]{
Anaphoric @racket[map]. Binds the syntax parameter @racket[it]
in the @racketid[body], and maps it over the list @racketid[lst]. Effectively the same
as wrapping the @racketid[body] in a @racket[lambda] with an @racket[it] parameter. Unlike @racket[map], @racket[amap]
@@ -173,7 +173,7 @@ using @racket[it].
@racketblock[(amap (* it it) '(1 2 3))]
}
-@defform[[(afilter body lst)]]{
+@defform[(afilter body lst)]{
Anaphoric @racket[filter]. Binds the syntax parameter @racket[it]
in the @racketid[body], and filters the list @racketid[lst] using it. Effectively the same
as wrapping the body in a @racket[lambda] with an @racket[it] parameter.