Skip to content

clojure.core/-

View this page on ClojureDocs

Type: function Added: Clojure 1.2 Examples: 2 Runnable: 1
([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: -'

Examples

by MrHus on
by phreed on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.