Skip to content

Give examples of chaining methods together. #3

@nlfiedler

Description

@nlfiedler

For instance, processing a result can be done in a single expression and yield a final value by simply chaining the map(), mapErr() and unwrapOr() together.

An example for people coming from JavaScript would show how map() and mapErr() are like then() and catch() on Promises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions