Skip to content

Please add fallible version of partition_map #498

Open
@Boscop

Description

@Boscop

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions