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

Allow recursively adding new E-nodes in N::make #347

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

imbrem
Copy link
Contributor

@imbrem imbrem commented Jan 29, 2025

I'm not yet sure if this change introduces any bugs, and the way I avoided calling clone on original is a bit of a hack and so maybe should just be replaced with doing the obvious thing (i.e., cloning original). That said, this change allows us to insert nodes into the E-graph during make, which I find useful for a dependent type-checker I am writing, which attempts to do type inference in N::make.

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.

1 participant