Hacker News new | ask | show | jobs
by content_sesh 1760 days ago
Haskell's Maybe type (monad?) comes to mind.
1 comments

That's true, it's a while since I did only a little bit of Haskell, but yes. I suppose I didn't think of it because it feels less like 'having to handle' it in Haskell, since that's the norm anyway.

Whereas if you compare Rust to Python, C(++), or Go as I was - having to consume a returned 'result' is more notable.