Change a couple racket to codeblock
This commit is contained in:
parent
cc117f0127
commit
206ea43f10
4
main.rkt
4
main.rkt
|
@ -153,11 +153,11 @@ search-and-replace.
|
|||
|
||||
Maybe you know that the usual way to define a function in Racket:
|
||||
|
||||
@racket[(define (f x) ...)]
|
||||
@codeblock{(define (f x) ...)}
|
||||
|
||||
is shorthand for:
|
||||
|
||||
@racket[(define f (lambda (x) ...))]
|
||||
@codeblock{(define f (lambda (x) ...))}
|
||||
|
||||
That shorthand lets you avoid typing @racket[lambda] and some parentheses.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user