The Clojure greater-than operator tests strict numeric decrease from left to right. It returns true when every adjacent pair satisfies the ordering; equality makes the result false. section 6.3
Use these arity and input rules:
- With one argument, returns true for any value. section 6.3
- With two or more arguments, requires every argument to be numeric and checks each left-to-right relationship. section 6.3
- Calling it without arguments raises ArityException; a nonnumeric multi-argument value raises ClassCastException. section 6.3
Ordering a sequence
(sort > (range 10)) ;; (9 8 7 6 5 4 3 2 1 0)
