Implement fold and try_fold using NomBounds #1436
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is yet another way to Closes #1393 I like this very much I found it's like a fusion of #1402 and #1407
0
1
n_m
etc... seeescaped(digit1, ...)
succeeds for empty string #1383It's hard to tell what implementation is faster between the 3 implementations, I think we need a benchmark, I expect #1407 faster than this faster than #1402 but anyway could be wrong and bench != real world application.
I'm still not a big fan to check #1333 at least in the current state, I think it's should be user problem, but I did it anyway as a PoC.
Todo:
PS:
ControlFlow
is stable since1.55
but I don't expect the range feature for any soon so will maybe fix if needed when the time will come.@cenodis @epage