Please add a fallible version of `partition_map` that allows the closure to return `Result<Either<L, R>, E>`. It would be easy, by using the for loop again and write `match predicate(val)? ` :) https://github.com/rust-itertools/itertools/pull/366/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759L2009-L2014