Skip to content

Instantly share code, notes, and snippets.

@LeifAndersen
Created November 5, 2019 22:44
Show Gist options
  • Save LeifAndersen/9bdc9ea583be6be891af1aea197d6a4a to your computer and use it in GitHub Desktop.
Save LeifAndersen/9bdc9ea583be6be891af1aea197d6a4a to your computer and use it in GitHub Desktop.
(module foo racket
(provide x)
(define-syntax x 5))
(module bar racket
(require (for-syntax (submod ".." foo)))
(provide (for-syntax x)))
(require (submod "." bar))
(module->exports (quote-module-path bar))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment