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

0 votes
in ClojureScript by

The following works in Clojure but not ClojureScript

`
(let [foo '(:a :b)]
(case foo

'(:a :b) :works))

`

2 Answers

0 votes
by

Comment made by: mfikes

This is evidence that the quoted list is evaluated:

cljs.user=> (case [1 2] '(1 2) :good) TypeError: (1).call is not a function. (In '(1).call(null,(2))', '(1).call' is undefined)

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-1917 (reported by anmonteiro)
...