     [(re-pattern regex) (map second symbols)]))
 
 (defn match-route 
-  "Match a path against a parsed route."
+  "Match a path against a parsed route. Returns a map of keywords and their
+   matching path values."
   [[regex symbols] path]
   (let [matcher (re-matcher regex path)]
     (if (. matcher (matches))

                    (rest (re-groups matcher)))))))

(defn update-response!
  "Update a HttpServletResponse via a Clojure datatype."
  [#^HttpServletResponse response change]
  (cond 
    (string? change)

      (let [writer (. response (getWriter))]
        (doseq c change
          (. writer (print c))))
    (instance? clojure.lang.FixNum change)
      (. response (setStatus change))
    (map? change)
      (doseq [k v] change
