-
Notifications
You must be signed in to change notification settings - Fork 5
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
Variables cannot unify with themselves #198
Comments
Thanks for reporting this. I will take a look. |
Hi @CatsAreFluffy. I am sorry for the long delay in response. That symbol defines meta variables. By default, it is You can create a local variable The way how mm-lamp is implemented, is that it includes all variables present in the editor to the list of found substitutions. It could be a big number of variables. Usually, only a few variables get substituted with something else, and others are substituted with itself. Mm-lamp shows only "useful" substitutions, where a variable is substituted with something different from itself. For example: Currently, this distinction between meta variables and usual variables is used in the All of this might be too complicated. Even I didn't recognize this problem by its description. I had to dive into the code to find out that this is not a bug. Maybe it makes sense to add some hints to the |
If I try to unify
R
withR
(using unification and not matching), I get an error, even though they should trivially unify.The text was updated successfully, but these errors were encountered: