AI
Size: a a a
AI
ST
AI
AI
ST
ST
(into)
так и делаетST
AI
ST
ST
ST
AI
AI
(defn f [l]
(loop [[h & t :as l] l
r (transient [])]
(if (empty? l)
(persistent! r)
(recur t (if (odd? h) (conj! r h) r)))))
AI
ST
(defn f [l]
(loop [[h & t :as l] l
r (transient [])]
(if (empty? l)
(persistent! r)
(recur t (if (odd? h) (conj! r h) r)))))
AI
ST
AI
ST
AI