Equality/Identity/HashCode #65
ftomassetti
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the same AST Node we can different equality (and hashcode) functions, depending on the application
SumExpression
?parseTreeNode
may or may not be relevantWe could have an interface
Equality
with methodshashCode
andequals
.We could have collections (Set, List, Map) that would use this concept of equality.
Beta Was this translation helpful? Give feedback.
All reactions