Re:Mental models around Ok-Wrapping
by lmm on Friday April 10, 2020 @08:43PM
(#22838803)
For any E, Result<E, ?> forms a valid monad. So yes technically Result is a family of monads rather than a single monad, just as technically the monad is not the type itself but the combination of the type and two functions defined on that type, but that's irrelevant pedantry most of the time.
[ Parent
| on HN ]
There are no comments on this comment yet.