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

Support wildcard patterns #13

Open
cimbul opened this issue Jun 1, 2019 · 0 comments
Open

Support wildcard patterns #13

cimbul opened this issue Jun 1, 2019 · 0 comments
Labels
language Prolog language features

Comments

@cimbul
Copy link
Owner

cimbul commented Jun 1, 2019

Currently, _ is treated like any other atom, so if you write a pattern like foo(_, _), it will unify foo(A, A) or foo(B, B), but not foo(A, B). Treat this like a true wildcard pattern.

@cimbul cimbul added the language Prolog language features label Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language Prolog language features
Projects
None yet
Development

No branches or pull requests

1 participant