Skip to content

Instantly share code, notes, and snippets.

@finnjohnsen
Created February 14, 2013 00:34
Show Gist options
  • Save finnjohnsen/4949716 to your computer and use it in GitHub Desktop.
Save finnjohnsen/4949716 to your computer and use it in GitHub Desktop.
IllegalArgumentException Key must be integer
(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