How about a potentially ugly workaround: user> (defn sum [ & {:keys [x y]} ] (+ x y)) #'user/sum user> (sum :x 1 :y 2) 3 user> (def inc-sum (partial sum :x 1)) #'user/inc-sum user> (inc-sum :y 1) 2 user> (inc-sum :y 2) 3 user>
I know this is a trivial example, but I do quite fancy named arguments and being able to set them explicitly in partial. U -- 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