On Tuesday, April 13, 2010, Mark J. Reed <[email protected]> wrote:
> (defn mean [& rest] (/ (apply + reset) (count rest))) that "reset" should be "rest". > And then use the same trick with it in place of +: > (apply map mean '((1 2 4) (2 4 6) (1 3 5))) > which yields (4/3 3 5). -- Mark J. Reed <[email protected]> -- 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 To unsubscribe, reply using "remove me" as the subject.
