Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bmn__
· 1y ago · 0 comments
This doesn't pass the smell test. Whenever I've seen the Result or Either type, the definition looked different than what you wrote here. I doubt this composes nicely, with Folktale and fp-ts I can be certain.
Comments
[–]
DrakeDeaton
1y ago
100% if you want composability go with a battle tested solution! That code really just demos how simple working the Result pattern can be.