commit bbed76d1e970d2d2400565a5abd0fc083af2f702 parent d945843738bf9dab0abbdbf2caeeb25ae24ab56a Author: Greg Hendershott <greghendershott@gmail.com> Date: Tue, 30 Oct 2012 08:17:58 -0400 Progress on issue #1. Diffstat:
| M | main.rkt | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/main.rkt b/main.rkt @@ -531,10 +531,10 @@ definition of the helper function(s) inside @racket[begin-for-syntax]: @racketblock[ (begin-for-syntax (define (my-helper-function ....) - ....) - (define-syntax (macro-using-my-helper-function stx) - (my-helper-function ....) ....)) +(define-syntax (macro-using-my-helper-function stx) + (my-helper-function ....) + ....) ] To review: @@ -580,7 +580,7 @@ possible but tedious using list accessors such as @racket[match] to do pattern-matching. @margin-note{Historically, @racket[syntax-case] and -@racket[syntax-parse] pattern matching came first. @racket[match] was +@racket[syntax-rules] pattern matching came first. @racket[match] was added to Racket later.} It turns out that pattern-matching was one of the first improvements