Skip to content

flat_map_ok #528

Open
Open
@oberien

Description

@oberien

Similar to #522, which defines flatten_ok, there could also be a flat_map_ok which operates on an IntoIter<Item = Result<T, E>>, applies a function to T if the value is Ok and flattens the result of that function. It should be equivalent to iterator.map_ok(function).flatten_ok().

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