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

Improve pattern matching mechanism #460

Merged
merged 7 commits into from
Sep 27, 2023
Merged

Improve pattern matching mechanism #460

merged 7 commits into from
Sep 27, 2023

Conversation

mtshiba
Copy link
Member

@mtshiba mtshiba commented Sep 27, 2023

This change allows the use of literal and variable patterns together, such as [x, 1] -> ... and so on.

Also, length is now checked in the array pattern and fields are checked in the record pattern.

@mtshiba mtshiba merged commit 475eca9 into main Sep 27, 2023
20 checks passed
@mtshiba mtshiba deleted the fix-match branch September 27, 2023 13:26
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

Successfully merging this pull request may close these issues.

None yet

1 participant