News for hackers. Stuff that matters.
Re:Async and Await in Rust: a full proposal by withoutboats on Wednesday July 18, 2018 @09:24AM (#17558138)
I think that there is not a definition of the Monad trait - not just undesirable, not possible - that can abstract over all Futures and Iterators as implemented in Rust. You would have to use some kind of trait object & lose the incredible inlining benefits that Rust gets from how these interfaces are designed today.

This is separate from effect systems, which I never said was not possible. rpjohnst's parallel response sums up the key differences between monads and an effect system.

There are no comments on this comment yet.