store/[org.clojure/clojure "1.8.0"] clj::clojure.core/-

Official Documentation

Add notes
Arities
==================================================
   [x]
   [x y]
   [x y & more]

Docstring
==================================================
  If no ys are supplied, returns the negation of x, else subtracts
  the ys from x and returns the result. Does not auto-promote
  longs, will throw on overflow. See also: -'

Source

(defn -
  "If no ys are supplied, returns the negation of x, else subtracts
  the ys from x and returns the result. Does not auto-promote
  longs, will throw on overflow. See also: -'"
  {:inline (nary-inline 'minus 'unchecked_minus)
   :inline-arities >0?
   :added "1.2"}
  ([x] (. clojure.lang.Numbers (minus x)))
  ([x y] (. clojure.lang.Numbers (minus x y)))
  ([x y & more]
     (reduce1 - (- x y) more)))

Example 1

Edit
(- 1)
;; => -1

(- 6 3)  
;; => 3

(- 10 3 2)  
;; => 5

Uses on crossclj