gronk@hardwario·Nov 1, 2017I tried writing some rust and got very frustrated that it didnt have >>= It was then that i realised, i am truly The Worst1
Brendan Zabarauskas@brendanzabReplying to @hardwario @pasiphae_goals and @cr1901`and_then` and the `?` operator gets you a decent way there. Or did you want those to be polymorphic? Because that is indeed a pain 😕12:05 PM · Nov 1, 2017·Twitter Web Client
Brendan Zabarauskas@brendanzab·Nov 1, 2017Replying to @brendanzab @hardwario and 2 others`Result::and_then` is the same as `(>>=)`, `?` gets you most of do notation for Results. Ugly, clunky, and not in a TC, but they do the job.
gronk@hardwario·Nov 1, 2017Replying to @brendanzab @pasiphae_goals and @cr1901that sounds like it should have done the trick! Sorry, it was a while ago and i cant remember exactly why it didnt work out