On Apr 7, 5:41 am, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> I think defnk is deprecated by the new feature mentioned by Stuart.

Do you mean to say that this:

user=> (defnk f [a b :c 1 :d 2] [a b c d])
#'user/f
user=> (f 3 4 :d 7)
[3 4 1 7]

is deprecated in favor of this:

user=> (defn g [a b & {:keys [c d] :or {c 1 d 2}}] [a b c d])
#'user/g
user=> (g 3 4 :d 7)
[3 4 1 7]

Eeek, I certainly hope not.

- Chris Perkins

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to