Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What? Actually, absolutely not.

If you only care about whether something succeeded use Option, if you care about the error use Either, Validation, etc.

Just pick the right Monad.



Yes, I agree, but I don't see how that's related to what I said.


Then maybe don't comment?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: