function/macro | since v0.0-1798 | clojure.core/unchecked-add-int | Edit |
(unchecked-add-int)
(unchecked-add-int x)
(unchecked-add-int x y)
(unchecked-add-int x y & more)
Returns the sum of nums. (+) returns 0.
(defn ^number unchecked-add-int
([] 0)
([x] x)
([x y] (cljs.core/unchecked-add-int x y))
([x y & more] (reduce unchecked-add-int (cljs.core/unchecked-add-int x y) more)))
(core/defmacro ^::ana/numeric unchecked-add-int
([& xs] `(+ ~@xs)))