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

Freshen operator #1

Open
krame505 opened this issue Nov 20, 2020 · 0 comments
Open

Freshen operator #1

krame505 opened this issue Nov 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@krame505
Copy link
Member

@remexre pointed out that we should have some way to clone terms and freshen them with all new variables. This would be mostly straightforward to implement as a new overloaded operator like unify, implemented by generating mutually-recursive type-specific functions. These implementation functions would also need to pass a dictionary around containing all the variables seen so far in the term, mapped to their replacements in the new term.

@krame505 krame505 added the enhancement New feature or request label Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant