you can do it using partition and flatten from clojure.contrib.seq-utils (use 'clojure.contrib.seq-utils) (flatten (partition 2 3 [2 4 5 8 6 4]))
this yields (2 4 8 6) On Tue, Dec 1, 2009 at 10:06 PM, Don <josereyno...@gmail.com> wrote: > I have a vector [2 4 5 8 6 4] > > And I want to remove a value based on index. Specifically, I want to > remove every third item. > > So my new vector would be [2 4 8 6] > > Thank you. > > -- > 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 - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- Omnem crede diem tibi diluxisse supremum. -- 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 - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en