2015-08-13 11:13 GMT+02:00 Amith George <[email protected]>:

>
> Could you please explain why is the `vec` needed? From what I understand,
> we are expected to treat the variadic args argument as a seq, nothing more.
>
>
What Tassilo said.
Also, it's not nessecary to use `vec`, but you need a function that creates
a seqable from varargs, like vec, list, ... .
That's what the & rest argument syntax does for you: create a collection
object from a variable number of arguments.
​

-- 
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
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to