-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Rename context combinators #454
base: main
Are you sure you want to change the base?
Conversation
Why? |
Hmmm, what value does this rename bring? |
I felt like |
Maybe renaming |
a.ignore_with_ctx(b) // Produces b's output
a.ignore_then(b) // Produces b's output I agree that it's maybe a little awkwardly named though. What do you think about the following? // The existing parsers (not changing)
a.ignore_then(b)
a.then(b)
// Their context-passing equivalents
a.ignore_then_ctx(b)
a.then_ctx(b) |
Oh I didn't mean that as an instruction, just as an opening point of discussion. I'm not convinced by the names I suggested myself. |
IMO this is the most convincing and asking ChatGPT to generate some alternatives names didn't give any viable ones. |
Well a problem with Regardless, I think this is something better left to an issue with discussion for the time being. |
No description provided.