technomancy/swank-clojure — Issue #107: Make C-c C-l unmap vars left over from previous compilations.
Author: technomancy
Created: 2012-02-25 22:15:38+00:00
State: open

Eval each top-level form independently and put the return value (vars) into a set called `fresh-vars`.

Then do:

```clj
(doseq [stale (clojure.set/difference (vals (ns-publics *ns*)))] (ns-unmap *ns* stale))
```