In Clojure's case, a symbol is a symbol. For example, this snippet of 
Clojure says *:no-match*.

(ns foo.bar)

(def ^:const n 3)
(def ^:const m 4)

(let [x 4]
  (case x
    n 1
    m 2
    7 3
    "hi" 4
    :no-match))


The snippet came from 
http://blog.fikesfarm.com/posts/2015-06-15-clojurescript-case-constants.html, 
which uses it to illustrate a rip-snorting new feature of ClojureScript's 
version of the case form.  According to that page, --

in ClojureScript, the same case henceforth yields *2*!

Is the same change coming to Clojure itself?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to