HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by m1el | Hacker News Reader
Parent
Full thread
m1el
·
The answer to that is `Either` monad (similar to `Result` in Rust).
View on HN
thomasahle
·
You have to then combine multiple monads though, which isn't quite as easy iirc.
loverofthings
·
Well, monad transformers make things easy but the abstraction impacts runtime performance :(
Reply on news.ycombinator.com