Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created August 17, 2010 15:02
Show Gist options
  • Save kwilczynski/530282 to your computer and use it in GitHub Desktop.
Save kwilczynski/530282 to your computer and use it in GitHub Desktop.
(main):001:0> [1, 2, 3] <=> [4, 5, 6]
=> -1
(main):002:0> [1, 2, 3] <=> [1, 2, 3]
=> 0
(main):003:0> [8, 7, 3] <=> [4, 5, 6]
=> 1
(main):004:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment