Does anyone have an example of going from an Iterator of type Result<T, SomeError> to Iterator of type T, while handling all errors? I can see how this could be done with `for x in y` syntax, but I'm wondering if this can be done using combinators. Can it?
-
Show this thread
-
Or is this simply a limitation of combinators because closures can't return to the top-level scope, whereas blocks *can*. Ugh, my intuition is telling me it's exactly this, and I really don't like it. Or well, it could be done, but it would likely require buffering. Which is :(
1 reply 0 retweets 1 likeShow this thread -
I'm mostly just hoping I've missed something, and someone here can spot what I've missed.
1 reply 0 retweets 0 likesShow this thread -
Oops, I should've clarified: I don't mean "all errors". I mean: "keep forwarding input into a new stream, but exit on the first error". Also without buffering.
4 replies 0 retweets 0 likesShow this thread
Everyone in this thread is incredibly helpful! 
5:34 AM - 5 Jul 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.