Fork me on GitHub

Kinda blown away by the part I linked to


Wondering what it’d take to get something like this in the cider debugger


I was talking with @cfleming last night about some alternatives that might work for emacs and Cursive. I think the original approach I used with using the browser outside the editor would work but with prepackaged visualizations.


That wouldn't do everything like inline displays but you could probably show those details in a buffer in emacs.


Hi @jasongilman, congrats on the talk and release, very impressive stuff! Though I really like to UI work you’ve done in proto-repl I was most impressed with the rebinding locals trick you showed in that part of the talk. I’d love to hear more about how that works


Thanks! Rebinding locals is just using def to set them as vars. That could potentially be problematic but in practice people have different names for locals and vars and reloading undoes that.


oh interesting, I haven’t tried that part of the demo myself, but am I correct in assuming that you’re able to suspend execution at the expression level and then redefine/eval the next form while maintaining the evaluation context of the parent exprs up to that point?


I second, the talk was super awesome and the editor has grown to be a cider competitor (which is a big deal indeed!). This is so so good for the Clojure ecosystem :)


No it's much less clever than that. I would categorize the save feature as fancy defs. It's evaluating exactly what you ask it to evaluate.


If you take local binding values and make vars of the same name and value then evaluating the expressions just works.


that's super useful, i've been doing this manually lately by inserting a def inside my code and rerunning the function with the def as an argument


pretty awesome that you streamlined it like that