Clojure Programming/Examples/API Examples/Data Structures

+
Returns the sum of nums. (+) returns 0.

-
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result.

*
Returns the product of nums. (*) returns 1.

/
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.

inc
Returns a number one greater than num.

dec
Returns a number one less than num.

min
Returns the least of the nums.

max
Returns the greatest of the nums.

quot
Quotient of dividing numerator by denominator.

rem
Remainder of dividing numerator by denominator.

rationalize
Returns the rational value of num.

==== Returns non-nil if nums all have the same value, otherwise false.

<
Returns non-nil if nums are in monotonically increasing order, otherwise false.

>
Returns non-nil if nums are in monotonically decreasing order, otherwise false.

<=
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.

>=
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.

zero?
Returns true if num is zero, else false.

pos?
Returns true if num is greater than zero, else false.

neg?
Returns true if num is less than zero, else false.