News for hackers. Stuff that matters.
Re:Functional exceptionless error-handling with optional and... by amluto on Sunday December 03, 2017 @04:54PM (#15839832)
> Yes Rust has .and_then which is same as >>= (sometimes also called flatMap or bind), but still the syntax isn’t lightweight enough.

Rust has try! and ?. The latter is quite lightweight.

Re:Functional exceptionless error-handling with optional and... by kccqzy on Sunday December 03, 2017 @05:42PM (#15840086)
These are not replacements for >>= because they don’t work with other monads. For example you cannot use try! and ? on lists/vectors.