Skip to content

Instantly share code, notes, and snippets.

@soegaard
Created August 26, 2012 21:34
Show Gist options
  • Save soegaard/3483730 to your computer and use it in GitHub Desktop.
Save soegaard/3483730 to your computer and use it in GitHub Desktop.
Example
#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