I'd expect the same, but in the code (https://github.com/clojure/ clojure/blob/master/src/jvm/clojure/lang/RT.java) get and getFrom do not raise any error.
On Nov 24, 6:30 pm, Sean Corfield <[email protected]> wrote: > > (:a 1 2) yields 2 which surprises me a bit... I'd expect an error > because 1 is not a collection that :a can look itself up in. -- 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
