Re:Learning Racket #2: Macros, Macros and a Bit of Modules
by gus_massa on Saturday April 26, 2014 @04:42PM
(#7652680)
Just nitpicking. The first example that uses define-syntax-rule can also be fixed with “...”. He uses the “...” later in syntax-parse, but they are available in define-syntax-rule too. With syntax-parse is easier to construct advanced macros, but I like to use define-syntax-rule for small throwaway macros.
[ Parent
| on HN ]
Re:Learning Racket #2: Macros, Macros and a Bit of Modules
by artyomkazak on Saturday April 26, 2014 @09:00PM
(#7653418)
Thanks for telling! (I've written a bit of a response here: http://artyom.me/learning-racket-2#gus_massa-from-hn .)