#Rustlang is looking to add generics over const
and async
keywords: https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html This could save us from e.g. writing separate async and non-async versions of the code, or at least hide the difference between a single name (to be disambiguated at compile time). Cool stuff!
@minoru Already works like that in Haskell.
@minoru https://hackage.haskell.org/package/async-2.2.4/docs/Control-Concurrent-Async.html see the High-level API example and withAsync signature