This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-05
Channels
- # aws (6)
- # beginners (10)
- # boot (33)
- # cider (23)
- # cljs-dev (50)
- # cljsjs (2)
- # cljsrn (10)
- # clojars (1)
- # clojure (215)
- # clojure-czech (1)
- # clojure-dev (5)
- # clojure-italy (23)
- # clojure-russia (18)
- # clojure-spec (11)
- # clojure-uk (53)
- # clojurescript (157)
- # core-async (29)
- # cursive (12)
- # data-science (15)
- # datascript (16)
- # datomic (68)
- # graphql (2)
- # jobs (5)
- # jobs-discuss (1)
- # juxt (17)
- # lein-figwheel (2)
- # luminus (3)
- # off-topic (155)
- # om (3)
- # pedestal (1)
- # portkey (1)
- # re-frame (7)
- # reagent (4)
- # ring (3)
- # ring-swagger (2)
- # rum (11)
- # unrepl (11)
- # vim (1)
- # yada (2)
clj-refactor and refactor-nrepl 2.3.1 is out. thanks for all the contributors, quite a few of them are @here ;)
I was sure that for the last month or so that whenever I did cider-jack-in on clj/cljs project it started both repls - Have I gone insane OR has this changed recently ?
> I was sure that for the last month or so that whenever I did cider-jack-in on clj/cljs project it started both repls - Have I gone insane OR has this changed recently ?
I have question about debugging with cider. Why if function is wrapped within def
statement it doesn’t allow debugging in cider? For example, check next few lines of code:
(defn target
[x]
(let [a (+ x 1)
b (inc a)]
(+ (/ b 1) 4)))
(defn wrap-nothing
"This function does nothing, just for example."
[f]
(fn [& args]
(apply f args)))
(def test (wrap-nothing target))
(test 3) ;; debugging of `target` is not working
(target 3) ;; debugging of `target` works if this executed
If I set cider-debug-defun-at-point
in target
function, and call test
debugger won’t stop. But it should actually. Why?good afternoon. I'm trying to extend a Java class in Clojure, so I'm using (:gen-class) in my namespace declaration. I haven't figured out how to work with this in a Cider repl. Here's what I'm working with:
(ns ex.Example
(:gen-class))
(defn -toString
[this]
"Hello, World!")
I get a ClassNotFoundException when I try to instantiate it, e.g., (ex.Example.)
. I get java.lang.ClassCastException when I try to compile it via (compile 'ex.Example)
Was it wrong to think that the #cider channel would be useful for using Cider, as opposed to finding bugs or other issues with Cider?