MONADS AND RUST A THREAD - or - why async/await instead of do notation
-
Show this thread
-
Replying to @withoutboats
An informative thread. Would be cool to know more about it and I don't think Twitter is OK for such explanations; would be nice if Rust had like official documents explaining such decisions at length that you could point to.
1 reply 0 retweets 5 likes -
Replying to @alexelcu @withoutboats
For example I might misunderstand the need for type currying. I know that types of multiple type parameters wouldn't work well with Monad, which has a single type parameter, but you can usually work around it (type aliases?) and most types have a single type parameter anyway.
2 replies 0 retweets 1 like
All Haskell functions take one argument. This includes type functions. Understanding this and working with the consequences will help with understanding what you are describing.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.