1.2.0 permalink Arrow_down_16x16
  • (defmethod* ns name & args)
Define a method implementation for the multimethod name in namespace ns.
Required for implementing the division function from another namespace.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/generic/arithmetic.clj:173 top

(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)))
Vars in clojure.contrib.generic.arithmetic/defmethod*: defmacro let concat defmethod list seq
Used in 0 other vars

Comments top

No comments for defmethod*. Log in to add a comment.