Conversation

Let's start with borrowing across yield points. We've solved this problem for real yield points with pin, I have no idea how to solve it using a function interface like >>=
2
25
Rust's imperative control flow statements like `return` and `break` inside of do notation also doesn't make sense, because we do not have TCP preserving closures.
3
21
So we only know how to have do notation without early return or borrowing. People say this is an open research question, but IMO its just not possible within our runtime constraints.
2
19
I guess the trouble I have with this position is that Rust was founded on proving that you could have your cake and eat it wrt. safety and performance. Why should it also be impossible to have safety, perf, and category theory based abstractions in another future language?
1