ClojureDocs

Nav

Namespaces

-

clojure.core

Available since 1.2 (source)
  • (- 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. Does not auto-promote
longs, will throw on overflow. See also: -'