         (concat nested-deps
                 (->> nested-deps
                      (mapcat ref-dependencies)))))))
+
 (defn config->ref-graph
   [config]
   (reduce

         kvs)
       [pk x])
     [[pk x]])))
(defn shorter-variations
  "Given a sequence '(1 2 3) return a sequence of all shorter
  possible sequences: '((1 2) (1))"

    (filter
      (comp tag-wrapper-of-ref? second)
      (pathify conj [] config))))

(defn resolve-refs
  "Resolves refs & any necessary tags in order to do it's job"
  [config resolve-fn]
