Re:Inventing Monads
by edflsafoiewq on Saturday August 29, 2020 @04:29PM
(#24319198)
I think the comparison is to something like this
[ Parent
| on HN ]
That example seems a bit odd as a design. You’re throwing an exception to represent a no result, but suppressing it to convert the exception to a none. Monads give you the convenience while being consistent.