This mixin behavior says that a = b if and only if a and b are the same object. This behavior is appropriate for unique objects like small integers, true, and false. The messages = and hash are closely related; if one is defined the other should be, too. This allows the defining object to be stored in hashtable-based sets and dictionaries. The following should hold: (a == b) implies (a = b) (a = b) implies (a hash = b hash) but (a hash = b hash) does not necessarily imply (a = b).

CopyDowns: vector

CreatorPath: mixins identity

Module: rootTraits

= = `( == x)` | |

hash = `( identityHash)` |