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

Bindings in not-patterns #26

Open
egisatoshi opened this issue May 23, 2013 · 1 comment
Open

Bindings in not-patterns #26

egisatoshi opened this issue May 23, 2013 · 1 comment

Comments

@egisatoshi
Copy link
Member

How should we deal with pattern-match result of a not-pattern inside a not-pattern.

@egisatoshi
Copy link
Member Author

> (match-all {{1 2 3} {1 4 5} {1 3 10} {2 5}} (multiset (list integer)) [<cons ^<cons ,1 <cons $n _>> _> n])
Unbound variable: n

I think, in above case, it is natural that it returns {2 5}.

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

No branches or pull requests

2 participants