 (defn- camelize-keys
   ^java.util.Map [m]
   (let [f (fn [[k v]] (if (keyword? k) [(camel-case k) v] [k v]))]
-    ;; only apply to maps
     (walk/postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m)))
 
 (def ^:private content-kind

(def ^:private content-kind-enum (set/map-invert content-kind))

(defn render
  "Given a compiled set of templates, renders the named template with the given
  data and returns the result as a string as well as the _kind_ of data in the
  template (e.g. `:html`). Data keys of the form `:one-two` are converted into
  template variables of the form `oneTwo`."

  (atom (cache/lu-cache-factory {})))

(defn set-cache
  "Sets the cache for parsed templates."
  [cache]
  (reset! template-cache cache))

