Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oweiler
48 days ago
|
parent
|
context
|
favorite
| on:
Result is all I need
Use the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: