If Rust had return type inference, it would be close to my ideal language
-
-
Also me in Rust: To ever abstract over Diesel queries you will have to at absolute minimum write: The SQL type of the select clause, the entire from clause, and the entire group by clause -- Always in cases where you don't care about coupling. Will never be concise w/o -> _
-
fite me. ;)
End of conversation
New conversation -
-
-
Imo IDEs should make this easier
-
But I don't like predicating ergonomics on IDEs so ....
- 4 more replies
New conversation -
-
-
Type inference for private and/or function-local functions has been proposed a few times before, and seems like what these use cases really want, can't remember what the reaction was.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.