Break up very long subsection with some subsubsections.

This commit is contained in:
Greg Hendershott 2012-11-02 11:52:50 -04:00
parent c69192d83d
commit 0de939e5c6
2 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -837,6 +837,8 @@ Instead we want the datum in the syntax objects, such as the symbols
And now it works! And now it works!
@subsubsection{@racket[with-syntax]}
Now for two shortcuts. Now for two shortcuts.
Instead of an additional, nested @racket[syntax-case], we could use 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 pattern variable. Don't let the terminology and structure make it seem
mysterious. mysterious.
@subsubsection{@racket[format-id]}
Also, there is a utility function in @racket[racket/syntax] called Also, there is a utility function in @racket[racket/syntax] called
@racket[format-id] that lets us format identifier names more @racket[format-id] that lets us format identifier names more
succinctly. As we've learned, we need to @racket[require] the module succinctly. As we've learned, we need to @racket[require] the module