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

[refactor] Combine brackets and within #73

Merged
merged 5 commits into from
Dec 23, 2024

Conversation

acl-cqc
Copy link
Collaborator

@acl-cqc acl-cqc commented Dec 20, 2024

This is targetted at #68.

After some preliminary refactorings to remove Bwd in #72, I realized brackets and within were 90% the same, but resisted my first attempts to combine them ;). Changing the contract on within (here renamed helper and made local to brackets) allowed this to proceed.

Note the second commit makes explicit, using Maybe....NonEmpty an invariant that in the first commit is just comments and incomplete-pattern-matches; you may prefer the first way though.

@croyzor croyzor merged commit 4806481 into refactor/parser-wc Dec 23, 2024
1 check passed
@croyzor croyzor deleted the acl/combine-brackets-within branch December 23, 2024 09:20
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.

2 participants