2 ms·
It is linguistically related to the (plus, int) monoid; the fact that it conforms to some algebraic/categorical interface is irrelevant in most contexts and jus
by avgcorrection 3y ago
It is linguistically related to the (plus, int) monoid; the fact that it conforms to some algebraic/categorical interface is irrelevant in most contexts and just a distraction.
(A “Result” is Rust-speak for a sum type which is either A or B, where (say) B is conventionally an error)