Skip to content

Instantly share code, notes, and snippets.

@iamvery
Created May 27, 2014 23:55
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 iamvery/d5488743040192137018 to your computer and use it in GitHub Desktop.
Save iamvery/d5488743040192137018 to your computer and use it in GitHub Desktop.
Io 20110905
Io> t1 := Object clone
==> Object_0x7f82795c83d0:
Io> t2 := Object clone
==> Object_0x7f827a803790:
Io> t1 isIdenticalTo(t2)
==> false
Io> t1 isIdenticalTo = method(true)
==> method(
true
)
Io> t2 isIdenticalTo = method(true)
==> method(
true
)
Io> t1 isIdenticalTo(t2)
==> true
Io> list(t1) containsIdenticalTo(t2)
==> false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment