Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TE.fromEither #319

Open
pasalino opened this issue Mar 29, 2023 · 0 comments
Open

TE.fromEither #319

pasalino opened this issue Mar 29, 2023 · 0 comments

Comments

@pasalino
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant