This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-23
Channels
- # aws-lambda (2)
- # beginners (40)
- # calva (9)
- # cider (17)
- # clojure (84)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (77)
- # clojure-uk (26)
- # conjure (1)
- # cursive (7)
- # datomic (7)
- # events (1)
- # exercism (1)
- # gratitude (2)
- # hyperfiddle (4)
- # improve-getting-started (10)
- # jobs-discuss (12)
- # malli (4)
- # missionary (12)
- # off-topic (22)
- # other-languages (4)
- # pedestal (3)
- # portal (6)
- # reagent (6)
- # reitit (1)
- # releases (1)
- # ring (4)
- # shadow-cljs (2)
- # thejaloniki (2)
- # tools-build (27)
- # tools-deps (4)
- # vim (6)
Awake earlier than usual (after being up later than usual!). Finally took a look at logseq last night... I've never been able to get into any of these note-taking programs so we'll see how it goes. I was also wrangling clj-kondo hooks for Expectations last night which got my mind spinning and woke me up early 🙂

Nice!!
but still it might be better to not use def-catch-all
for something it wasn't built for
OK, will try that for defphraser
once I've had a coffee... 🙂
...confirmed that the NPE is gone 🙂 Updating that config now...
Where should that :config-in-call
go? I tried it in the main .clj-kondo/config.edn
for the project and got a bunch of unresolved symbol errors from the defphraser
calls that I don't get for def-catch-all
.
Here's what I had (which "works"):
:lint-as
{phrase.alpha/defphraser clj-kondo.lint-as/def-catch-all}
and I changed that to:
:config-in-call
{phrase.alpha/defphraser {:linters {:ignore true}}}
and here the call:
(defphraser #(contains? % k)
[_ _ k]
(str (name k) " is required."))
and every k
and _
has a red squiggly complaining "Unresolved symbol"Yup, that fixed it!
We have a couple of def-catch-all
in the config... one is definitely a def
-like thing... I'll have to look at the other one...
If I want a specific (comment ..)
form to not be linted...?
Yup, just one. Thanks.
Nice! I’ve been a Notion fan until I discovered it doesn’t work offline. So experimenting with Logseq now, excited that its a clojure solution 🙂
The only thing that's weird to me is that I'm so used to all my data being in the cloud that I don't know how I'll get on with a product that specifically uses local file storage!