<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged const</title>
<link>https://ask.clojure.org/index.php/tag/const</link>
<description>Powered by Question2Answer</description>
<item>
<title>Could (should?!) `case` be const aware?</title>
<link>https://ask.clojure.org/index.php/15285/could-should-case-be-const-aware</link>
<description>&lt;p&gt;Hi, thanks for all your time and effort; it&#039;s genuinely appreciated in an increasingly strange world.&lt;/p&gt;
&lt;hr&gt;
&lt;pre&gt;&lt;code&gt;user&amp;gt; (def ^:const x 1)
#&#039;user/x
user&amp;gt; (case 1 x :x)
Execution error (IllegalArgumentException)
No matching clause: 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I think I understand, from the docstring, why this doesn&#039;t do what I thought it might, but I am curious if it could or should. (:&lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/15285/could-should-case-be-const-aware</guid>
<pubDate>Tue, 03 Nov 2026 17:52:10 +0000</pubDate>
</item>
</channel>
</rss>