store/[org.clojure/core.typed "0.2.82"] clj::clojure.core.typed.check.special.fn/gen-defaults

Source

(defn gen-defaults [{:keys [methods] :as expr}]
  (apply merge-with (comp vec concat)
              (for [method methods]
                (let [fixed-arity (ast-u/fixed-arity method)
                      variadic? (ast-u/variadic-method? method)]
                  {:doms [(vec (repeat fixed-arity r/-any))]
                   :rngs [nil]
                   :rests [(when variadic?
                             r/-any)]
                   :drests [nil]}))))

Uses on crossclj