Created
March 29, 2019 20:28
-
-
Save LeifAndersen/8f06b4a15d9eb62e8fe8d5078d1253b4 to your computer and use it in GitHub Desktop.
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 scratch | |
(define-syntax-parser foo | |
[(_) | |
(pretty-write (syntax-debug-info this-syntax)) | |
#`(bar #,this-syntax)]) | |
(define-syntax-parser bar | |
[(_ orig) | |
(pretty-write (syntax-debug-info #'orig)) | |
#'42]) | |
(foo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment