Generics over keywords #6477
Unanswered
jtschuster
asked this question in
Language Ideas
Replies: 1 comment
-
I know that there have been some prototypes to explore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Rust announced earlier this year that they're looking into making functions that can be generic over their keywords like
async
orconst
so that a single implementation of a function can be invoked as blocking or async. I think this could be an interesting idea to investigate.Rust blog post: https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html
Beta Was this translation helpful? Give feedback.
All reactions