I think you want the apply function: user=> (apply max (list 1 2 3)) 3
On Jul 4, 10:21 pm, dennis <killme2...@gmail.com> wrote: > For example: > (max 1 2 3) => 3 > (max (list 1 2 3)) => (1 2 3) > > How to convert (list 1 2 3) to arguments for function? > > Thanks a lot. -- 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