This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-08
Channels
- # aleph (52)
- # beginners (74)
- # boot (8)
- # cider (4)
- # clara (3)
- # cljs-dev (1)
- # cljsjs (2)
- # cljsrn (1)
- # clojars (2)
- # clojure (300)
- # clojure-argentina (1)
- # clojure-dev (9)
- # clojure-italy (10)
- # clojure-nl (1)
- # clojure-russia (77)
- # clojure-sg (9)
- # clojure-spec (38)
- # clojure-uk (70)
- # clojurescript (108)
- # core-async (12)
- # cursive (9)
- # data-science (4)
- # datascript (7)
- # datomic (37)
- # defnpodcast (4)
- # emacs (11)
- # graphql (6)
- # jobs (3)
- # jobs-discuss (1)
- # juxt (3)
- # keechma (1)
- # klipse (4)
- # lein-figwheel (1)
- # lumo (1)
- # off-topic (3)
- # om (5)
- # onyx (10)
- # parinfer (3)
- # pedestal (1)
- # perun (1)
- # protorepl (3)
- # re-frame (35)
- # reagent (19)
- # spacemacs (4)
- # specter (2)
- # uncomplicate (279)
- # unrepl (32)
@dominicm, I'm curious, are you working on something based on unrepl?
pesterhazy: not actively. But I'm in the hammock over it. I'd like to build a vim client eventually. My participation here mostly centers around me wanting to repeat cool things the Nrepl allows in the "new world"
a vim client would be great, even a simple one
I guess one obstacle would be an edn parser?
@U08KSP3CL got one I believe
an edn parser in vimscript??
beautiful š
Speaking of :set-source
, thereās the open question of knowing reliably when it starts to apply. Scenario; the user submitted three benchmark forms at once, the 1st form is being evaluated, the other two are waiting to be read. Meanwhile the user wants to evaluate some form from a file (with corresponding source info set).
This raise at least one edge cases and several questions:
⢠if :set-source
occurs on a separate connection it shouldnāt apply bafore the 2 pending forms are evaluated
⢠evaluating from file also require to set the ns, should eval from file and repl share the same session?
⢠if :set-source
is async how do we know when it applies (or when to apply it)?
Currently Iām leaning towards adding an extra param to :set-source
: the offset where it must become active. Still unconvinced
Yeah. I had wondered about the async and multi form versions of that. This, I suppose, is another part of the trade off of not "wrapping" input forms in a special way.
Itās a related concern but thereās something that bugs me with eval-form-from-file
after some time the lines/cols are all wrong, ideally the editor should version files at each eval-form and makes the version id part of the file path
Back to my question on :set-source
, should āeval-form-from-fileā happen on the repl connection? Should it alter *1
and friends? Should it be concurrent? In my experience (Iād like to know yours) the only integration I care about is having it appears in the repl logs so as to be able to review the log more easily. This may be a pure client feature
True, most of the time itās only defstuff but when it fails *e is useful (would a nice exception browser meets this need?)
dominicm: no no you don't click in cider š
@cgrand indeed. I'm starting to look at how vim can even have something close (although, it is based on a generic exception viewer I think, not dived in yet)