Handling errors from iterators

[quote="kstep, post:18, topic:2551"]
The take_until doesn't solve the problem, as it's really isomorph to take_while(|x| !f(x)), and it would eat last element
[/quote]Well sure, I meant one that would not eat the last element. If until implies otherwise to you maybe it's not a good name.