Re: unsplicing quote without the other macro-specific name resolution etc.

2010-12-15 Thread Ken Wesson
On Thu, Dec 16, 2010 at 1:55 AM, Sunil S Nandihalli wrote: > thanks Ken, You're welcome. -- 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 - p

Re: unsplicing quote without the other macro-specific name resolution etc.

2010-12-15 Thread Sunil S Nandihalli
thanks Ken, your second vecify was exactly what I was looking for! .. I feel it would be good candidate for the core. Sunil. On Thu, Dec 16, 2010 at 12:19 PM, Ken Wesson wrote: > On Thu, Dec 16, 2010 at 1:33 AM, Sunil S Nandihalli > wrote: > > Hello everybody, > > I would like to write regula

Re: unsplicing quote without the other macro-specific name resolution etc.

2010-12-15 Thread Ken Wesson
On Thu, Dec 16, 2010 at 1:33 AM, Sunil S Nandihalli wrote: > Hello everybody, >  I would like to write regular code something like > [1 2 ~@(map some-fn some-coll) 4 5] > is this possible? (vec (concat [1 2] (map some-fn some-coll) [4 5])) will do it. A tidier form would be: user=> (vecify 1 2

unsplicing quote without the other macro-specific name resolution etc.

2010-12-15 Thread Sunil S Nandihalli
Hello everybody, I would like to write regular code something like [1 2 ~@(map some-fn some-coll) 4 5] is this possible? I don't mind not using the literal vector notation.. it could even be (some-macro-or-fn 1 2 3 ~@(map some-fn some-coll) 4 5) is this possible .. ? i don't want '" ` "" be