If I define (defrecord SomeDefrecord [foo])
, its map->SomeDefrecord
constructor arglist will be the following:
[m__7988__auto__]
This is not quite friendly, and doesn't result in an ideal experience for users of clojure.repl/doc
, cider-nrepl, and any other runtime-based tool.
So I would suggest that :arglists
for such constructors are based on the fields that the defrecord declares:
:arglists '([{:keys [foo]}])
This seems very simple to implement - have you considered adding this small but real improvement?