考虑无参数的函数
(defn aarg {:arglists '([fake])} [])
=> {:ns cljs.user,
:name aarg,
:file nil,
:end-column 11,
:column 1,
:line 1,
:end-line 1,
:arglists ([fake]),
:doc nil,
:test nil}
所有功能均按预期工作,但引入了可变参数
(defn aarg {:arglists '([fake])} [& env])
(meta #'aarg)
=> {:ns cljs.user,
:name aarg,
:file nil,
:end-column 11,
:top-fn {:variadic true,
:max-fixed-arity 0,
:method-params [(env)],
:arglists ([& env]),
:arglists-meta (nil)},
:column 1,
:line 1,
:end-line 1,
:arglists ([& env]),
:doc nil,
:test nil}
:arglists 不会受到影响。