Stateful arrays for clojure