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

feat: make more defs tail recursive #6

Merged
merged 2 commits into from
Dec 12, 2023
Merged

feat: make more defs tail recursive #6

merged 2 commits into from
Dec 12, 2023

Conversation

fgdorais
Copy link
Owner

@fgdorais fgdorais commented Dec 12, 2023

The signature of foldl was also changed since it wasn't useful for the init parameter to be a parser rather than a plain value.

Fixes #5

@fgdorais fgdorais changed the title feat: make foldl tail recursive feat: make more defs tail recursive Dec 12, 2023
@fgdorais fgdorais merged commit 59c543c into main Dec 12, 2023
1 check passed
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.

Parser.foldl isn't (always?) tail recursive
1 participant