Created
May 12, 2012 15:25
-
-
Save number23/2667160 to your computer and use it in GitHub Desktop.
clojure comparator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((comparator <) 1 4) | |
;= -1 | |
((comparator <) 4 1) | |
;= 1 | |
((comparator <) 4 4) | |
;= 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment