Re: almost as dosec

2011-01-20 Thread David Powell
On Thu 20/01/11 13:06 , kony kulakow...@gmail.com sent: > Hi, > > I am looking for something which operates similarly as doseq but in > case of more than one binding traverses every sequence only one. I.e. > > wanted result: > > (doseq [x '(A B C) y '(1 2 3)] (println (list x y))) > > should

Re: almost as dosec

2011-01-20 Thread Ken Wesson
On Thu, Jan 20, 2011 at 8:06 AM, kony wrote: > Hi, > > I am looking for something which operates similarly as doseq but in > case of more than one binding traverses every sequence only one. I.e. > > wanted result: > > (doseq [x '(A B C) y '(1 2 3)] (println (list x y))) > > should produce: > > (A

Re: almost as dosec

2011-01-20 Thread Sunil S Nandihalli
sorry .. I was too quick in responding .. You are talking about something else.. Sunil. On Thu, Jan 20, 2011 at 6:40 PM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > one of the following should give you a reasonable solution > http://clojuredocs.org/clojure_contrib/clojure.contrib.se

Re: almost as dosec

2011-01-20 Thread Sunil S Nandihalli
one of the following should give you a reasonable solution http://clojuredocs.org/clojure_contrib/clojure.contrib.seq/indexed http://clojuredocs.org/clojure_core/clojure.core/map-indexed

almost as dosec

2011-01-20 Thread kony
Hi, I am looking for something which operates similarly as doseq but in case of more than one binding traverses every sequence only one. I.e. wanted result: (doseq [x '(A B C) y '(1 2 3)] (println (list x y))) should produce: (A 1) (B 2) (C 3) OK I know that in this particular case there are