ClojureDocs

Nav

Namespaces

Take the 2026 State of Clojure Survey! Help shape the future of Clojure — open through Nov 30. Take Survey →
core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

-'

clojure.core

Available since 1.0 (source) Clojure/JVMClojureScriptbabashka
  • (-' 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: -