4 ms·
Haskell's Maybe type (monad?) comes to mind.
by content_sesh 5y ago
Haskell's Maybe type (monad?) comes to mind.
- OJFord 5y agoThat'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.