Skip to content

add custom state to parsers#3

Closed
raehik wants to merge 12 commits into
mainfrom
custom-state
Closed

add custom state to parsers#3
raehik wants to merge 12 commits into
mainfrom
custom-state

Conversation

@raehik
Copy link
Copy Markdown
Owner

@raehik raehik commented Oct 21, 2025

Having to add custom state in Run sucks. But megaparsec is really using a workaround (leveraging monad transformers), and regular parsec does have custom state. I'll just provide some Run' utils that instantiate it to '().

@raehik
Copy link
Copy Markdown
Owner Author

raehik commented Nov 6, 2025

Rebased.

@raehik raehik mentioned this pull request May 6, 2026
@raehik
Copy link
Copy Markdown
Owner Author

raehik commented May 7, 2026

Redone in #7 .

@raehik raehik closed this May 7, 2026
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.

1 participant