A native discriminated union already does what Either promises
DEV Community
A native discriminated union already does what Either promises
I wrote about fp-ts this week and was left with an uncomfortable doubt: did I really need all that machinery? A look at when a native discriminated union solves the same problem as Either/Option without the learning curve.
0 comments
No comments yet.