Output fp-ts style Task/TaskEither from tryit #344
stefaanMLB
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got stuck in an attempt to write a fluent (entension method) function to work on the [error, result] output of
tryit
because it seems not possible in typescript to write extension methods on tuples.Would it not be better to use the
Either
/TaskEither
approach of fp-ts to store the result state instead of tuples ? That way it will be easier to extend it with fluent stype APIs.Beta Was this translation helpful? Give feedback.
All reactions