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

MonadHashCons #38

Merged
merged 9 commits into from
Feb 11, 2025
Merged

MonadHashCons #38

merged 9 commits into from
Feb 11, 2025

Conversation

kozross
Copy link
Member

@kozross kozross commented Feb 5, 2025

Closes #37 . In particular:

  • Added HashConsT, which effectively is ASGBuilder, but more general.
  • Added MonadHashCons, providing refTo, which is the equivalent to the current idOf.
  • Generalized all the old ASGBuilder functionality to work over arbitrary MonadHashCons.

Ideally, MonadHashCons should be in a standalone library, but we can always publish this later. A wiki update is probably needed to align better with this change.

@kozross kozross merged commit 8826451 into main Feb 11, 2025
13 checks passed
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.

MonadHashCons
3 participants