Y
Hacker News
new
|
ask
|
show
|
jobs
by
UserIsUnused
2381 days ago
Why not just use sealed classes for your given use-case rather than a generic result? If you want to do generic why not go full Either?
1 comments
mrkeen
2381 days ago
Maybe the people that realise that are the people who self-select into a language where Result and Either are just implementation details and should be hidden behind F[_] or similar.
link