Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ls_equal implementation #380

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

n-osborne
Copy link
Contributor

This PR proposes to move from physical equality to equality of the identifiers.

This will be needed as we plan to make gospel type checker modular (see #377): different files will be typed by different runs of the gospel program and physical equality won't hold between these runs.

Copy link
Contributor

@shym shym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the code!
I would suggest rephrasing the changelog entry to qualify the new impl(e)mentation.
What about: “Use unique identifiers rather than physical equality for Symbols.ls_equal”?

Move from physical equality to equality on indentifier so that equality
holds accross gospel runs.
@n-osborne
Copy link
Contributor Author

Agree.
Thanks :-)

@n-osborne n-osborne merged commit df2f886 into ocaml-gospel:main Jan 30, 2024
3 checks passed
@n-osborne n-osborne deleted the ls_equality branch January 30, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants