This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-15
Channels
- # announcements (2)
- # aws (52)
- # beginners (326)
- # cider (24)
- # clara (7)
- # clj-kondo (14)
- # cljs-dev (175)
- # clojure (183)
- # clojure-ecuador (2)
- # clojure-europe (4)
- # clojure-italy (11)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-spec (5)
- # clojure-sweden (5)
- # clojure-uk (103)
- # clojurescript (49)
- # cursive (29)
- # data-science (9)
- # datascript (17)
- # datomic (23)
- # emacs (6)
- # events (4)
- # fulcro (19)
- # graalvm (8)
- # graphql (2)
- # hoplon (36)
- # jobs (1)
- # jobs-discuss (92)
- # juxt (3)
- # luminus (10)
- # off-topic (4)
- # pedestal (8)
- # planck (1)
- # re-frame (59)
- # reagent (1)
- # reitit (22)
- # rewrite-clj (8)
- # ring-swagger (3)
- # shadow-cljs (101)
- # spacemacs (15)
- # tools-deps (36)
- # vim (68)
Has anyone else had problems with load-file in cider/nrepl choking on aliased keywords? With a RuntimeException: Invalid Token: ::aliased/keyword
not sure, but is aliased keywords the same as namespaced keywords. eg. :my-ns/my-kw
. If so, then I'm pretty sure there should only be one colon as in my example.
in which case clojure expands the ns based on the alias in require
See reader docs here:
I can’t link you to the section
but the text is:
> If the keyword is qualified, the namespace will be resolved using aliases in the current namespace. In a namespace where x is aliased to example, ::x/foo resolves to :example/foo.
Interesting. I didn't know about that
hmm ok pretty sure this is a scope capture bug
not sure, but is aliased keywords the same as namespaced keywords. eg. :my-ns/my-kw
. If so, then I'm pretty sure there should only be one colon as in my example.
does anybody have a pom.xml
with a working nrepl
setup?
also it's been a while since I worked with cider in the JVM, I wonder what I am doing wrong because it seems like importing my java files/classes does not work 😄
I definitely seem to have the right classpath entries that's why I am baffled
I wonder if I need to include target
and compile the java files ...
> also it’s been a while since I worked with cider in the JVM, I wonder what I am doing wrong because it seems like importing my java files/classes does not work 😄
Doesn’t work in what sense? There’s nothing special you need to do. They simply have to be on your classpath.
@bozhidar that was my impression as well, but no, I basically discovered that I needed lein-virgil
to compile .java to .class obviously