Patch:Code and Test
In our IDE-tool clj-ns-browser, we show the user a list of vars and make it easy to add a trace by selecting a var and clicking a button.
In order to only enable the button for a var that is traceable, we use predicate "var-traceable?".
In order to change the button text from "trace" to "untrace", we use predicate "var-traced?".
Both "var-traceable?" and "var-traced?" are aware of tools.trace internals - ideally, we would like to remain oblivious to trace's inners...
Our implementations for the predicates is at: https://gist.github.com/2472261
Thanks for the great tool!