Closed jverzani closed 6 years ago
Apparently, the double iterator protocol has a problem. I presume that this is one of the corner cases I can not solve as long as the julep about iterators is not available.
The function done
precalculates the next value and the function next
simply returns the already calculated value... I has to do this to exclude the default return
.
Okay, thanks for the explanation!
I'm trying out
And have found an unexpected behavior:
And
Whereas collecting first returns:
Shouldn't this be the output of the former, or am I missing something?