Hello All,

I wanted something that could help make life a little easier for me, that
was what motivated me to write the below code. However, when I showed it to
a friend, he pointed out that clojure 1.1 has juxt function. So, I quickly
changed its name to apply-juxt. I invite your comments and if you like it
please use it.

Merry Christmas!!

(defn apply-juxt [d & body]
(map #(apply % body) d))

(apply-juxt [* - +] 8 7)


Regards,
Emeka

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

Reply via email to