arglist:
bq. (defmethod multifn dispatch-val & fn-tail)
docstring:
bq. Creates and installs a new method of multimethod associated with dispatch-value.
There are a few issues with this docstring that make it hard to understand:
1. The {{& fn-tail}} argument is not documented. What is the type / shape of {{& fn-tail}}. I don't see any mention in the reference guide either -
https://clojure.org/reference/multimethods
2. The docstring and arglists conflict about the name {{multimethod}} vs. {{multifn}}.
3. The docstring and arglists conflict about the name {{dispatch-value}} vs. {{dispatch-val}}.
Aside: on clojuredocs.org there is a mention of an optional name being allows on the method
https://clojuredocs.org/clojure.core/defmethod#example-542692c7c026201cdc3269cd but I don't see that documented anywhere official. I'm not sure if it supported.