Created
February 14, 2013 00:34
-
-
Save finnjohnsen/4949716 to your computer and use it in GitHub Desktop.
IllegalArgumentException Key must be integer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn strong? [person] (= (person :name) "Arnold")) | |
;#'user/strong? | |
(def people {"arnie" {:name "Arnold"} "joe" {:name "joe"}}) | |
;#'user/people | |
(filter strong? people) | |
;IllegalArgumentException Key must be integer clojure.lang.APersistentVector.invoke (APersistentVector.java:261) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment