cursive

grav 2025-10-30T10:42:17.220059Z

Small gotcha that took some time for me to understand: Trying to do (is (= a 42)) where a is actually not a valid form, such as [{:count(*) 1234}] results in multiple

Error handling response - class java.lang.RuntimeException: java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiElement
Caused by:class java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiElement
Error handling response - class java.lang.RuntimeException: java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiElement
Caused by:class java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiElement

grav 2025-10-30T10:46:11.063519Z

The weird value came from a query such as (jdbc/execute conn ["SELECT count(*) FROM mytable"]) which by itself evaluates fine to [{:count(*) 1234}], but it's not homoiconic, ie it cannot be re-inserted into the repl. At least I guess that's related to the error.

grav 2025-10-30T10:46:56.540139Z

The error message just threw me off for a second (or two), so I thought I'd post it here for others

onetom 2025-10-31T08:35:01.523189Z

yeah, :count(*) is not a valid keyword literal. u would need to construct it with (keyword "count(*)")

onetom 2025-10-31T08:36:03.815499Z

but if u have syntax highlighting, that should have already indicated this