Skip to content

Instantly share code, notes, and snippets.

@number23
Created May 12, 2012 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save number23/2667160 to your computer and use it in GitHub Desktop.
Save number23/2667160 to your computer and use it in GitHub Desktop.
clojure comparator
((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