func (a *TypeDef) Equals(b *TypeDef) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if a.Name != b.Name {
		return false
	}
	return a.Atom.Equals(&b.Atom)
}
// Equals returns true iff the two TypeDefs are equal.
Equals returns true iff the two TypeDefs are equal.
// Equals returns true iff the two TypeDefs are equal .
func (a *TypeDef) Equals(b *TypeDef) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if a.Name != b.Name {
		return false
	}
	return a.Atom.Equals(&b.Atom)
}
func ( a * TypeDef ) Equals ( b * TypeDef ) bool { if a == nil || b == nil { return a == nil && b == nil } if a . Name != b . Name { return false } return a . Atom . Equals ( & b . Atom ) }
Equals returns true iff the two TypeDefs are equal.
Equals returns true iff the two TypeDefs are equal .