This is a old post but I made a few simple helpers to work with vectors that would solve your problem I believe:
https://gist.github.com/sebastibe/27be496c34ba6a3cce3b6425810a3dda On Wednesday, August 26, 2015 at 2:06:30 AM UTC+9, Hussein B. wrote: > > Hi, > > For a vector like [A B C D E], how to remove an element to a specific > location? For example [A D B C E] ? > > I thought about converting the vector into array but I would feel bad if I > did that. > > What would be the idiomatic way to do that in Clojure? > > Thanks for help and time. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/0ca27de1-d532-4375-8b73-c68688c635a9%40googlegroups.com.