Skip to content

Instantly share code, notes, and snippets.

@haxney
Created February 16, 2012 04:02
Show Gist options
  • Save haxney/1841863 to your computer and use it in GitHub Desktop.
Save haxney/1841863 to your computer and use it in GitHub Desktop.
differently-ordered equal sets
{0, 8} # => {8, 0}
{8, 0} # => {0, 8}
{8, 0} == {0, 8} #=> True
list({0, 8}) == list({8, 0}) #=> False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment