eslint-plugin-fp-ts icon indicating copy to clipboard operation
eslint-plugin-fp-ts copied to clipboard

TE.fromEither

Open pasalino opened this issue 1 year ago • 0 comments

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.

pasalino avatar Mar 29 '23 09:03 pasalino