Could you give an example demonstrating this?
user> (defn a [& {x :x y :y}] (vector x y))
#'user/a
user> (a :y 7 :x 3)
[3 7]
user> (apply a {:x 3 :y 7})
[nil nil]
On Monday, March 23, 2015 at 6:13:55 AM UTC-4, puzzler wrote:
>
> It's been a while since I've tested this, but I believe that if a map is
> passed as the last argument to apply, Clojure "does the right thing" and
> passes the map in as keyword args.
>
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.