Hello,
if I am not too dumb, it seems that comparing for classes does not work in
case statements, like:
=> (class '(1 2 3))
clojure.lang.PersistentList
=> (case (class '(1 2 3))
clojure.lang.PersistentList :amazing
:so-sad)
:so-sad
I do not need a workaround - that is already done - and using the List is
just for providing a simple example. It originally occurred while comparing
Java classes.
I am just interested if this behavior is intended or a bug.
Cheers!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.