I've found this gem in The Joy of Clojure : #(-> [%])
which would work similarly for any literal, I guess : #(-> {:a %}) in this case. Much nicer than identity, IMHO. On 4 June 2012 15:28, Steven Obua <ste...@obua.de> wrote: > Jay's example has convinced me that redefinition is not a good idea anyway, > because #(f) is not always equivalent to f when (count [f]) is 1. > > -- > 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 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