You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that the AST does not define an instance for Eq.
It would be useful to be able to compare AST branches for equality (for example, to ensure you are not generating the same expression twice, or to be able to put declarations in a set). Is there a fundamental reason why it cannot or should not be done
?
The text was updated successfully, but these errors were encountered:
ivanperez-keera
changed the title
Why doesn't the AST define an instance for Eq
Why doesn't the AST define an instance for Eq?
Aug 15, 2023
I just noticed that the AST does not define an instance for
Eq
.It would be useful to be able to compare AST branches for equality (for example, to ensure you are not generating the same expression twice, or to be able to put declarations in a set). Is there a fundamental reason why it cannot or should not be done
?
The text was updated successfully, but these errors were encountered: