Skip to content

Add fold method to TaskEither for consistency with Either #162

@suojae

Description

@suojae

Hi @SandroMaglione, I'm really enjoying using your package, thanks. and while using it, I came across something that I’d like to suggest as an improvement.

Image

In fpdart, Either<L, R> provides both match and fold, but TaskEither<L, R> only has match.

I think this can lead to inconsistencies when working with both Either and TaskEither.

Would it be okay if I add fold to TaskEither to align it with Either?

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