Created
August 26, 2012 21:34
-
-
Save soegaard/3483730 to your computer and use it in GitHub Desktop.
Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(define-syntax (foo stx) | |
(syntax-case stx () | |
[(foo x) | |
(let ([a (+ 1 2)]) | |
(with-syntax ([a a]) | |
#'(+ x a)))])) | |
(foo 39) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment