Easiest way to prove this: As someone to make `RefMut` a functor. It immediately shows why Rust doesn't fit into Haskell's model
-
This Tweet is unavailable.
-
This Tweet is unavailable.
-
This Tweet is unavailable.
-
-
-
Replying to @ManishEarth @withoutboats
"Oh you need `SequenceA` on https://doc.rust-lang.org/nightly/std/cell/struct.RefMut.html#method.map …? lol good luck https://github.com/diesel-rs/diesel/blob/14a55571966b57f59601e590e5ae5b4e8dd61a65/diesel/src/connection/statement_cache.rs#L238-L263 … (yes I know it's UB https://github.com/diesel-rs/diesel/pull/1799 … probably maybe fixes it)
1 reply 0 retweets 1 like -
Replying to @sgrif @withoutboats
shot ``` #[cfg_attr(feature = "cargo-clippy", allow(invalid_ref))] unsafe { ``` chaserhttps://github.com/diesel-rs/diesel/pull/1799 …
1 reply 0 retweets 0 likes
Replying to @ManishEarth @withoutboats
LOOK I HAVE A PR OPEN TO FIX IT OK GEEZ
5:00 PM - 9 Aug 2018
from Albuquerque, NM
0 replies
0 retweets
1 like
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.