Hi everyone, I'm new to clojure and I try to understand the apply function.
>From the clojure sources, I can see that there are several signatures for this method: with or without additional arguments before the sequence. According to these signatures, we can have 4 arguments MAX before getting the sequence of arguments (([^clojure.lang.IFn f a b c d & args]) However, (apply + 1 1 1 1 1 1 1 1 1 1 1 [2 3]) is a valid function call and I can get a result. At this point I'm not sure how this signature can accept so many argument before the [2 3] sequence. I think I miss a point but don't know what ! Thanks you, Rafi. -- 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 --- 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.