                        (second arglists)))]
     {:docstring docstring
      :signatures signatures
-     :fn-or-macro "function"}))
+     :type "function"}))
 
 (defmulti parse-form*
   (fn [form]


(defn parse-defn-or-macro
  [form]
  (let [fn-or-macro ({'defn "function" 'defmacro "macro"} (first form))
        args (drop 2 form)
        docstring (let [ds (first args)]
                    (when (string? ds)

  (join "\n"
    (keep identity
      [(cljsdoc-section "Name" (:full-name item))
       (cljsdoc-section "Type" (:type item))
       (cljsdoc-section "Return Type" (:return-type item))
       (cljsdoc-section "Docstring" (:docstring item))
       (cljsdoc-section "Signature" (join "\n" (:signatures item)))
