I am trying to produce a list of records where the keys match. It makes sense to me ;-)
The examples from the docs show this: *(join animals personalities {:kind :species}) * and the third argument is a key map to show which fields from the two collections should be treated as the same key * * On Tuesday, July 16, 2013 4:48:25 PM UTC+2, Michael Klishin wrote: > > 2013/7/16 mond <r...@mcdermott.be <javascript:>> > >> check-delta-feeds.core=> (set/join changed-records feed-entries {:ID >> :dh-uuid}) >> ClassCastException clojure.lang.LazySeq cannot be cast to java.util.Map >> clojure.lang.RT.find (RT.java:733) >> > > You can use clojure.set/join on lazy sequences but joining a list > (produced by a sequence) with > a map makes no sense. > > You have {:ID :dh-uuid} in the code above. Maybe you want #{:ID :dh-uuid}, > another set? > -- > MK > > http://github.com/michaelklishin > http://twitter.com/michaelklishin > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.