-'

added
1.0

ns
clojure.core

type
function

(-' x) (-' x y) (-' x y & more)

If no ys are supplied, returns the negation of x, else subtracts
the ys from x and returns the result. Supports arbitrary precision.
See also: -

                ;; unlike the * and + functions there is no 0 arity form
(-')
;; ArityException: wrong number of args (0)

(-' 1)
;;=> -1 

(-' 6 3)  
;;=> 3

(-' 10 3 2)  
;;=> 5

(- 0 9000000000000000000 1000000000000000000)
;; ArithmeticException: integer overflow

(-' 0 9000000000000000000 1000000000000000000)
;;=> 10000000000000000000N