I'm using a vector of maps which defined as a referece.
i want to delete a single map from the vector and i know that in order to delete an element from a vector i should use subvec.
my problem is that i couldn't find a way to implement the subvec over a reference vector.
i tried to do it using:
(dosync (commute v assoc 0 (vec (concat (subvec @v 0 1) (subvec @v 2 5))))), so that the seq returned from the vec function will be located on index 0 of the vector but it didn't work.
does anyone have an idea how to implement this?
thanks