Comparing of (potentially cyclic) object graphs for equality. Features:
- abstracted over pointers;
- termination and correctness in presence of cycles;
- stack safety.
XXX: Relies on meaningful hashCode and equals for Ptr1
- Companion:
- object
class Object
trait Matchable
class Any