• (+ x)
  • (+ x y)
  • (+ x y & more)
Return the sum of all arguments. The minimal implementation for type
::my-type is the binary form with dispatch value [::my-type ::my-type].

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:45 top

(defmulti + 
  "Return the sum of all arguments. The minimal implementation for type
   ::my-type is the binary form with dispatch value [::my-type ::my-type]."
  {:arglists '([x] [x y] [x y & more])}
  nary-dispatch)
Vars in clojure.contrib.generic.arithmetic/+: + defmulti
Used in 0 other vars

Comments top

No comments for +. Log in to add a comment.