 (defn- attribute-defs "[{:name _ :type _} ...] defs -> [AttributeDefinition ...]"
   [hash-keydef range-keydef indexes]
   (let [defs (->> (conj [] hash-keydef range-keydef)
-                  (concat (map :range-keydef indexes))
+                  (concat (mapv :range-keydef indexes))
                   (filterv identity))]
     (mapv
      (fn [{key-name :name key-type :type :as def}]

                                 " See `freeze` for serialization.")))))

(comment
  (map clj-val->db-val [  "a"    1 3.14    (.getBytes "a")    (freeze :a)
                        #{"a"} #{1 3.14} #{(.getBytes "a")} #{(freeze :a)}]))

;;;; Coercion - objects


      (some->> (.getN  x) str->num)
      (some->> (.getB  x) thaw)
      (some->> (.getSS x) (into #{}))
      (some->> (.getNS x) (mapv str->num) (into #{}))
      (some->> (.getBS x) (mapv thaw)     (into #{}))))

(defn- clj-val->db-val "Returns an AttributeValue object for given Clojure value."
  ^AttributeValue [x]
