don't convert lists to vectors in LAST

This commit is contained in:
Nathan Marz 2016-11-18 16:24:09 -05:00
parent 9d859e0fae
commit 23e58ae223

View file

@ -12,10 +12,6 @@
#?(:clj [clojure.core.reducers :as r])))
(defn- append [coll elem]
(-> coll vec (conj elem)))
(defn not-selected?*
[compiled-path structure]
(->> structure
@ -332,7 +328,7 @@
(cons (afn (first l)) (rest l)))
(defn- update-last-list [l afn]
(append (butlast l) (afn (last l))))
(concat (butlast l) [(afn (last l))]))
#?(
:clj