Hi, I admit that subvec is not a good example as it does indeed take a vector as a first argument, perhaps i'll find better example or perhaps I might've just been confused. I learnt lisp and scheme many years ago, abandoned them for languages with better libraries, and I'm perhaps thrown off by the [] of clojure instead of the () throughout of lisp. Thanks.
On Jun 15, 4:54 pm, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > in your example the vector *is* the argument. You could just as well write > (let [x [1 2 3 4 5]] (subvec x 1 3)). > > On function definition the arguments are given in a vector, yes. > > I'm not sure I understand your concern completely. > > Sincerely > Meikel -- 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
