Re: expanding a collection within an argument list

2009-05-04 Thread Stephen C. Gilardi
On May 4, 2009, at 10:33 PM, Mark Volkmann wrote: I have a collection I need to pass to foo after the first arg like this: (foo "some value" my-collection) What I need is a way to expand my-collection into individual arguments that are passed to foo so that they will be collected back into

expanding a collection within an argument list

2009-05-04 Thread Mark Volkmann
Suppose I have a function like this: (defn foo [arg1 & other-args] ...) I have a collection I need to pass to foo after the first arg like this: (foo "some value" my-collection) What I need is a way to expand my-collection into individual arguments that are passed to foo so that they will be