-
-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Imagine that you have a list of 3 elements. And you are going to use Fold.loop
on it.
The first one is Failure(1)
.
Currently, loop
will iterate over all 3 elements. With no breakpoints.
But, Failure(1)
is a roadblock for any other logic. We should not iterate over other values.
We need to think about best solutions here.
Criteria:
- It should ideally work with any
FailableN
- It should be similar to
loop
in semantics - It should be possible to use
loop
orloop_lazily
on the same functions / helpers. In other words, it should be easy to switch from one to another - It should be faster than
loop
Ideas?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed