Traverse for Result and Option


#1

Where’s haskell’s traverse for Result and Option? For result, it’s of type Iterator<Result<V,E>> -> Result<Iterator<V>,E>


#2

You can .collect() an Iterator<Item=Result<V,E>> into a Result<Vec<V>,E>.