function/macro | previously cljs.core/unchecked-substract | clojure.core/unchecked-subtract | Edit |
(unchecked-subtract x)
(unchecked-subtract x y)
(unchecked-subtract x y & more)
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result.
(defn ^number unchecked-subtract
([x] (cljs.core/unchecked-subtract x))
([x y] (cljs.core/unchecked-subtract x y))
([x y & more] (reduce unchecked-subtract (cljs.core/unchecked-subtract x y) more)))
(core/defmacro ^::ana/numeric unchecked-subtract
([& xs] `(- ~@xs)))