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)
You should watch Stu Halloway's recent talk (to the Chicago Clojure group) about using the REPL. @ricroberts
In particular he says "don't type stuff into the REPL -- type it into a file and evaluate each form as you go". He keeps a scratch file for "REPL experiments" so he has a record of everything he's ever tried in the REPL.
I thought it was an interesting insight.
it would definitely be nice for the ink console to play well with Parinfer/Paredit, but yeah, I think most people type in either a real file or a temp file and send forms to the REPL via key commands
@rgdelato @seancorfield thanks, I figured that was how i could get it to work for me, after I typed that 🙂
Cheers for the pointer to that talk tho
I am trying to use proto-repl
with my cljs setup - I am using boot. I followed https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-02.md and this is working correctly. I have the correct proto-repl
dependencies specified in my build.boot
file. I am stuck at the point where I run boot dev
which creates my nrepl
instance. I can connect to this nrepl with proto-repl
- what would be the next steps?
The answer to the next steps is that after you connect to the nrepl
started by boot dev
. you need to require in the following to proto-repl
(require '[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]])
Then you can run (start-repl)
and connect to your app in the browser as you normally wouldyou will also need to disable enable-completions
(which requires a restart of Atom) - seems to throw errors otherwise