-
Notifications
You must be signed in to change notification settings - Fork 126
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
match if equal? #41
Comments
Not nicely as far as I can tell. the best I could come up with is:
and then have the pattern just be check_seq...then you end up with: This isn't great because you loose the patterns but it is compact. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to match a pattern like
[_, 0, _]
only if the two_
s are equal, and if they aren't continue to the next pattern?The text was updated successfully, but these errors were encountered: