Break up very long subsection with some subsubsections.
This commit is contained in:
parent
c69192d83d
commit
0de939e5c6
File diff suppressed because one or more lines are too long
4
main.rkt
4
main.rkt
|
@ -837,6 +837,8 @@ Instead we want the datum in the syntax objects, such as the symbols
|
|||
|
||||
And now it works!
|
||||
|
||||
@subsubsection{@racket[with-syntax]}
|
||||
|
||||
Now for two shortcuts.
|
||||
|
||||
Instead of an additional, nested @racket[syntax-case], we could use
|
||||
|
@ -865,6 +867,8 @@ Whether you use an additional @racket[syntax-case] or use
|
|||
pattern variable. Don't let the terminology and structure make it seem
|
||||
mysterious.
|
||||
|
||||
@subsubsection{@racket[format-id]}
|
||||
|
||||
Also, there is a utility function in @racket[racket/syntax] called
|
||||
@racket[format-id] that lets us format identifier names more
|
||||
succinctly. As we've learned, we need to @racket[require] the module
|
||||
|
|
Loading…
Reference in New Issue
Block a user