Welcome! Please see the About page for a little more info on how this works.

+1 vote
ago in Clojure by
retagged ago by

Hi, thanks for all your time and effort; it's genuinely appreciated in an increasingly strange world.


user> (def ^:const x 1)
#'user/x
user> (case 1 x :x)
Execution error (IllegalArgumentException)
No matching clause: 1

I think I understand, from the docstring, why this doesn't do what I thought it might, but I am curious if it could or should. (:

Please log in or register to answer this question.

...