My point was that you could use subvec to do vector splicing and build your remove function off of that. I'm sure the more experienced Clojurians can chime in on what is the most idiomatic form.
On Wed, Feb 18, 2009 at 1:10 AM, CuppoJava <patrickli_2...@hotmail.com>wrote: > > Mmm, subvec doesn't quite seem to do the same thing. > > I want a function that removes certain indexes of a vector: > eg. (remove_at [1 2 3 4 5 6] 0 3) => [2 3 5 6] > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---