Define a method implementation for the multimethod name in namespace ns.
Required for implementing the division function from another namespace.
(defmacro defmethod*
"Define a method implementation for the multimethod name in namespace ns.
Required for implementing the division function from another namespace."
[ns name & args]
(let [qsym (symbol (str ns) (str name))]
`(defmethod ~qsym ~@args)))
Comments top
No comments for defmethod*. Log in to add a comment.