This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-26
Channels
- # architecture (2)
- # beginners (310)
- # boot (34)
- # cider (50)
- # cljs-dev (82)
- # cljsrn (1)
- # clojure (125)
- # clojure-dusseldorf (1)
- # clojure-hamburg (1)
- # clojure-italy (47)
- # clojure-russia (21)
- # clojure-spec (38)
- # clojure-uk (36)
- # clojurescript (200)
- # community-development (21)
- # cursive (10)
- # datomic (15)
- # duct (58)
- # emacs (20)
- # fulcro (10)
- # funcool (1)
- # graphql (2)
- # hoplon (6)
- # jobs (1)
- # lumo (12)
- # mount (20)
- # off-topic (14)
- # om (5)
- # portkey (43)
- # protorepl (2)
- # re-frame (31)
- # reagent (36)
- # ring (17)
- # ring-swagger (6)
- # shadow-cljs (50)
- # spacemacs (9)
- # sql (5)
- # tools-deps (28)
- # uncomplicate (4)
- # unrepl (5)
- # vim (2)
- # yada (2)
How to define a funtion in let- binding variables? Like this:
elisp
(let ((bind-vars (lambda (var) ...))) (--> body (bind-vars it) (another-func it))
That will work if you use (funcall bind-vars it)
to invoke the function.
or look into cl-flet
OK, so I can't remember how to install / upgrade Cider... Anyone able to help me out here..?
(yes I know I could Google it, but I am looking for a learning experience if anyone has the time 🙂 )
M-x list-packages
. search for CIDER, hit u then x. (u is mark for upgrade) (x is do the stuff i've told you to do)
Unfortunately, it's not listed in that buffer, and yet I am running CIDER right now... In fact I scrolled back up and there is a warning about it being 0.14 and out of step with the version of nrepl that is running, so I know which version I have now...
Is is possible that if I installed it as part of a whole Leiningen Profiles thing ages ago that it might be over-riding things?
OK, this is where I make a terrible admission... I am using someone else's Emacs setup (with their permission) that is probably wildly out of date, and while I have become productive with Emacs day-to-day I have not really decoded how to make it my actual slave, I am more a slave to it... 😉
I have sorted it - thanks! (I moved to Spacemacs (in Holy mode) and have now got latest Cider)
I have an emacs file opened that also happens to be a package I installed. My "goto definition" command goes to the elpa file definition rather than the one in the project directory.
Is there a priority setting for the definition search I need to set up?