2 ms·
Haskell has monads and syntax for monads. Rust doesn't. Do not mix the two together as if one justifies the other: as someone who prefers monads to exceptions (
by saurik 6y ago
Haskell has monads and syntax for monads. Rust doesn't. Do not mix the two together as if one justifies the other: as someone who prefers monads to exceptions (which are essentially a hardcoded syntax for a specific error handling monad), Rust's non-monadic manual error checking paradigm feels ridiculous.