DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Hackish Way To Get A List Of Module Exports Under PLT

07.26.2007
| 2238 views |
  • submit to reddit
        (define (get-provided-names-from-a-module path)
  (syntax-property (expand (with-input-from-file (path->string path) read))
                   'module-variable-provides))