Change a couple racket to codeblock

This commit is contained in:
Greg Hendershott 2012-10-26 11:50:11 -04:00
parent cc117f0127
commit 206ea43f10

View File

@ -153,11 +153,11 @@ search-and-replace.
Maybe you know that the usual way to define a function in Racket: Maybe you know that the usual way to define a function in Racket:
@racket[(define (f x) ...)] @codeblock{(define (f x) ...)}
is shorthand for: is shorthand for:
@racket[(define f (lambda (x) ...))] @codeblock{(define f (lambda (x) ...))}
That shorthand lets you avoid typing @racket[lambda] and some parentheses. That shorthand lets you avoid typing @racket[lambda] and some parentheses.