-
Notifications
You must be signed in to change notification settings - Fork 809
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
try_fold support #1411
Comments
We should wait until #1393 so we can leverage it for only having 1-2 versions, rather than 4+ |
good idea, and yes, it'd make more sense after we get ranges |
So I try... And it very very very very very very very very very complicated.
The problem is that all nom parser return an
While maybe we could add it, I think this will further add problem. I think using So, for now I think simple require the function to return a |
This was my intention, at least until |
Prerequisites
Here are a few things you should provide to help me understand the issue:
Split out of #1409
fold_many_*
doesn't support coming across errors. When folding the elements of a TOML table, we need to error if keys are duplicated. I think it'd be useful to take inspiration from try_fold in the stdlib. This uses an unstable trait but we can for now constrain what types we canTry
on untilTry
becomes stable.The text was updated successfully, but these errors were encountered: