The first part of the error says that this refers to the call clojure.core/keys. You can find the type with (cf keys).
(All [k]
[(Map k Any) -> (Seq k) :object {:id 0 :path [Keys]}])
The error basically summarizes this polymorphic type, mapped to the actual types provided by the function.
Polymorphic Variables All . k - , , k.
Domains ( ->). arities Fn, .
Arguments , . 14:23 (keys hm), : (t/Option (t/Map k v1))
Ranges ( ->) .
Expected, Range , Arguments Domain.
, Domains Arguments. Arguments Domains, . no Domains Arguments, , ; , , .
(t/Option (t/Map k v1)) (t/Map k Any), . , (t/Option (t/Map k v1)) (U nil (t/Map k v1)), nil (t/Map k Any).
. , keys nil. :
(keys (or hm {}))
source
share