(hash-map :a 1 :b 2) is equivalent of {:a 1 :b 2} so this will work: {:c "Turd" :d "More Turd"}
On Sunday, December 4, 2016 at 10:03:04 PM UTC+1, bill nom nom wrote: > > ;; This works, > (hash-map :a 1 :b 2 ) > > > ;; Here's another way to create a hash map, this won't work because map > ;; literal must contain even number of forms > {hash-map :c "Turd" :d "More Turd"} > > What does "Map literal must contain an even number of forms" mean? > > -- 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/d/optout.