Re:Inventing Monads
by raiflip on Saturday August 29, 2020 @04:55PM
(#24319370)
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.
[ Parent
| on HN ]