Hi, how about
(reduce #(update-in % %2 tf) arr2d list-of-coordinates) given you 2d array is a vector of vectors and you supply a tf update function? Las 2012/12/3 JvJ <[email protected]> > I'm wondering if there's something that can be used like update-in, but > with multiple key-lists and values. > > Like, for example, taking a list of [x y] coordinates for a 2-dimensional > array, and changing the values at all of those coordinates. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- László Török -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
