I tend to add the metadata in manually when I write multimethods.
(defmulti foo
"Does some foo to x."
{:arglists '([x])}
:type)
- James
On 23 August 2015 at 16:51, Dave Tenny wrote:
> defmulti+detmethod doesn't seem to maintain any :arglists metadata with
> the Var filled by defmulti.
>
defmulti+detmethod doesn't seem to maintain any :arglists metadata with the
Var filled by defmulti.
How can I look up arglist information for multimethods like I can for
regular function vars?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
On Oct 11, 2:33 am, Jeff V <[EMAIL PROTECTED]> wrote:
> Do multimethods support doc strings or other metadata?
defmulti had been replacing any metadata on the name with a type hint.
I've changed it (SVN rev 1060) so that it adds to any metadata on the
name.
So, for now, defmulti doesn't have the
Do multimethods support doc strings or other metadata?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, se