3 ms·
The live evaluation is nice, but seems a little limited. If I have: (defn my-add [a b] (+ a b)) (my-add 3 45) (my-add 1 2) Only the "1 2" version i
by ezy 14y ago
The live evaluation is nice, but seems a little limited. If I have:
(defn my-add [a b]
(+ a b))
(my-add 3 45)
(my-add 1 2)
Only the "1 2" version is followed into "my-add". Is there anyway to force it to look at "3 45" other than commenting out "1 2"?
I greatly prefer the idea of showing the value propagation explicitly as you click on things. For example, using lines and arrows to show that this came from there and that came from here.
- simcop2387 14y agoIn this case I suspect it's dealing with compiler optimizations. The first one is being optimized out since it produces no side effects and the return isn't used anywhere. How to work around this I have no idea.
- johnmw 14y agoI'm not sure if this is what you want, but you can turn live evaluation off with Ctrl/Cmd-l and then evaluate the individual line you are interested in with Shift-Enter.