Skip to content

Instantly share code, notes, and snippets.

@dyoo
Created February 2, 2013 01:20
Show Gist options
  • Save dyoo/4695459 to your computer and use it in GitHub Desktop.
Save dyoo/4695459 to your computer and use it in GitHub Desktop.
An example of letting Racket tell you where things are defined.
#lang racket
(require syntax/modresolve)
;; An example of letting Racket tell you where things are defined.
(resolve-module-path-index (first (identifier-binding #'for/hash))
(current-directory))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment