Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macros: key expressions should support match-like alternation with | #286

Open
43615 opened this issue May 17, 2023 · 0 comments
Open

Macros: key expressions should support match-like alternation with | #286

43615 opened this issue May 17, 2023 · 0 comments

Comments

@43615
Copy link

43615 commented May 17, 2023

Instead of:

'a' => foo,
'b' => foo,
'c' => foo,
'd' => bar,
'e' => bar

, one should be able to write:

'a'|'b'|'c' => foo,
'd'|'e' => bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant