technomancy/serializable-fn — pull request #4 by amalloy (2011-11-30 04:31:13+00:00)
Title: Eval locals at runtime, not compile-time

Now we can serialize functions like this:

```clojure
(let [x 10, y (inc x)]
(fn [] y))
```

Previously that failed, because an attempt was made to eval `y` by evaluating `(inc x)`, but at compile-time x is not defined.

I added tests for the new behavior, which pass; however, one of the old tests fails because it cannot resolve `dinc`. I tried rolling back all my changes, and that test still fails; not sure what's going on there.