This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-03
Channels
- # adventofcode (6)
- # bangalore-clj (1)
- # beginners (15)
- # boot (4)
- # cider (14)
- # clara (1)
- # cljs-dev (1)
- # clojure (115)
- # clojure-art (1)
- # clojure-france (1)
- # clojure-greece (1)
- # clojure-korea (9)
- # clojure-russia (1)
- # clojure-spec (62)
- # clojure-taiwan (1)
- # clojure-uk (18)
- # clojurescript (5)
- # component (1)
- # cursive (3)
- # datascript (2)
- # datomic (17)
- # devcards (2)
- # editors (4)
- # emacs (65)
- # events (2)
- # funcool (4)
- # hoplon (92)
- # jobs (6)
- # london-clojurians (1)
- # luminus (1)
- # midje (2)
- # mount (1)
- # off-topic (1)
- # onyx (51)
- # protorepl (6)
- # re-frame (116)
- # reagent (7)
- # ring (2)
- # spacemacs (2)
- # specter (4)
- # untangled (1)
- # yada (1)
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 clojure.tools.namespace 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.