Skip to content

TE.fromEither #319

Open
Open
@pasalino

Description

@pasalino

When I have pipe like this:

pipe(E.right(22), TE.fromEither)

i receveived this alert:

'TaskEither' is pure, so this expression does nothing in statement position. Did you forget to return it or run it?eslint[fp-ts/no-discarded-pure-expression](https://github.com/buildo/eslint-plugin-fp-ts/blob/v0.3.2/docs/rules/no-discarded-pure-expression.md)

But it's not true, the statement is used by pipeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions