This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-04
Channels
- # babashka (17)
- # beginners (82)
- # calva (42)
- # clj-commons (9)
- # cljdoc (2)
- # cljsrn (3)
- # clojure (142)
- # clojure-europe (12)
- # clojure-nl (1)
- # clojure-sg (1)
- # clojure-uk (14)
- # clojurescript (22)
- # community-development (3)
- # cryogen (12)
- # cursive (15)
- # data-science (13)
- # datomic (11)
- # deps-new (8)
- # emacs (3)
- # fulcro (31)
- # gratitude (7)
- # holy-lambda (8)
- # honeysql (6)
- # introduce-yourself (1)
- # jackdaw (11)
- # jobs-discuss (7)
- # kaocha (1)
- # malli (8)
- # other-languages (9)
- # pathom (14)
- # pedestal (1)
- # polylith (3)
- # portal (12)
- # re-frame (3)
- # react (3)
- # reagent (4)
- # releases (3)
- # reveal (7)
- # ring (11)
- # shadow-cljs (17)
- # specter (3)
- # sql (1)
- # timbre (2)
- # tools-deps (122)
- # xtdb (18)
Maybe I'm making a stupid mistake. I have a case
function which should differentiate between different symbols. IntelliJ is warning me that those symbols can't be resolved, but the documentation of case explains that
The test-constants are not evaluated. They must be compile-time
literals, and need not be quoted.
I've now switched the (case sym ...)
into a (condp = sym ...)
but it feels a workaround. Shouldn't case
be exempt from trying to resolve things? cc @cflemingthis is in clojurescript btw, and also the compiler throws some warnings
--------------------------------------------------------------------------------
32 |
33 | (defn explain [sym]
34 | foo "foo"
35 | bar "bar")
---------^----------------------------------------------------------------------
Use of undeclared Var my.ns/bar
@U3JH98J4R yes sorry i typed it wrong, but you're right 😄
Is there a way to disable maven in clojure projects? My build keeps generating pom.xml
files and then Intellij complains that Maven and Leiningen cannot both manage the module
That should only happen if Maven thinks it’s managing the module, it won’t import the pom by default. If you open your Maven toolwindow and remove the project from there it should stop pestering you.
Effectively it disables leiningen on the module, giving precedence to maven
I still have problem where all the leiningen preparation tasks run with a weird PATH. And then I always get Cannot run program "gpg": error=2, No such file or directory
. It works fine from command line.
Does this work if you set the gpg path at Preferences | Build, Execution, Deployment | Build Tools | Leiningen?
yes entering full path here helps
thanks