arthuredelstein/clooj — Issue #78: Show Interactions a la Dr. Racket
Author: devn
Created: 2011-11-24 01:01:33+00:00
State: open

I assume the following would be quite a bit of work, but Dr. Racket has an absolutely beautiful system where you can "show interactions", which means that when your mouse hovers over a variable or function, an arrow or arrow(s) are rendered on the screen that show how that thing came to be. For example:

```
(ns foo.core)

(def hello "hello")

(defn hello-someone [someone]
(str hello ", " someone))
```

When hovering over someone, an arrow is drawn from [someone] to someone.
When hovering over hello, an arrow is drawn from (def hello ...) to (str hello ...).

I know this is probably pie in the sky, but every time I see this in Dr. Racket I am flabbergasted at how nice that is.