This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-07
Channels
- # bangalore-clj (2)
- # beginners (53)
- # boot (30)
- # cider (27)
- # clara (1)
- # cljs-dev (18)
- # cljsrn (16)
- # clojure (153)
- # clojure-brasil (1)
- # clojure-dusseldorf (5)
- # clojure-italy (20)
- # clojure-losangeles (3)
- # clojure-spec (4)
- # clojure-uk (177)
- # clojurescript (115)
- # component (4)
- # core-logic (1)
- # datomic (29)
- # emacs (9)
- # figwheel (2)
- # gorilla (1)
- # graphql (36)
- # hoplon (4)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (2)
- # keechma (22)
- # lumo (4)
- # off-topic (1)
- # onyx (17)
- # parinfer (96)
- # protorepl (10)
- # re-frame (31)
- # reagent (14)
- # ring-swagger (17)
- # spacemacs (32)
can someone tell me why my cider repl fails when dealing with clojurescript? https://gist.github.com/anonymous/9d635eeda53d1bac1de2f592e636a4a0
@ghadi you'll basically be asking questions to @richiardiandrea
Lol you can ask here but I will be back in front of my pc in about 24 hours, traveling now :)
no worries. I am trying to go all in
on Socket REPL. I'm using inf-clojure but had a couple questions: how can I prevent inf-clojure from sending forms to the REPL except ones I explicitly send? I think there is some sort of background trickery going on that blows away the vars *1
@ghadi If you figure out a good workflow for that, would love to see a blog post about it
can it? i know cider gets around this by maintaining two sessions to nrepl to prevent exactly this. there's your primary session and a tooling session
(s/start-server {:name "repl" ;; s is clojure.core.server
:port 5555
:accept 'clojure.core.server/repl
:server-daemon false})
I put that in some sort of init namespace, then I run clojure with java -cp $(cat cp.txt) clojure.main -m my-init-ns
Alternatively, you can start a socket repl using a java property with that map above embedded inside it
I don't care for debugging, autocompletion, etc. Or at least I haven't missed them yet.
@ghadi there is way more to discover on #unrepl but yes, we send some form for autocomletion and autodoc
There we were thinking of better tooling and multiplexing/multiple connection
Also Thomas Hellers' shadow-cljs already provides that, and I am working (slowly) on a mode for that. Shadow-cljs is the closest you can get to have a no-magic repl
About inf-clojure, if you setq the defcustoms for completion and eldoc (sorry don't remember by heart), you won't send the form under the hood.
I would open an issue for '*1' because it is a bug
@richiardiandrea thank you
@ghadi just an fyi, that's not quite how cider works. Evaluations go through a different channel to completions. But it's still one nrepl session. Only evaluations blow away *1
@ghadi Thanks for the explanation ghadi!