Hacker News new | ask | show | jobs
by yccs27 1254 days ago
It currently works with `Result` and `Option` types, and with RFC#3058 will work with all types implementing the `Try` trait.
1 comments

Monadic do notation equivalent at that point, I suppose.
Although that would be really fun, the proposed `Try` basically only allows you to call the `Result<_, E>` by a different name.