Getting beyond that, this is assuming that "future" implements "monad," so if we could just add HKT to have a Monad trait, everything would be hunkydory. That's not true!
-
Tweet je nedostupan.
-
-
Thank you so much. Even as someone who's by no means an expert in FP and doesn't even know Rust (and only a bit of Haskell), this thread was super easy to follow and informative
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Apologies, I don't know any rust - would the same issues you described, borrowing and early returns, apply equally to callbacks on futures, e.g. the "my_fut().and_then(|retval| my_fn_squared(retval))" on https://dev.to/mindflavor/rust-futures-an-uneducated-short-and-hopefully-not-boring-tutorial---part-1-3k3 … ?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.