-
-
Notifications
You must be signed in to change notification settings - Fork 88
Improve condition
support for Python and Rust
#1147
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
Improve condition
support for Python and Rust
#1147
Conversation
Seems reasonable. I presume |
Hmm I don't believe that they are. Does make me wonder if it's what we want; feels a bit small for Otoh I do sometimes find myself wanting to target the cc/ @AndreasArvidsson wdyt |
I guess it's similar to trying to target a ternary in other languages. I do agree that if statement isn't the best description for any of those, but it probably would be useful to be able to target them. |
Discussed in meet-up:
|
if
component of case
statementscondition
support for Python and Rust
@purpleP fyi we are now using |
4446871
to
68e020a
Compare
condition
support for Python ternariescondition
support for Python list comprehensionscondition
support for Python match statementscondition
support for Rust match statements"chuck"
includes theif
keyword for match statements and list comprehensionsChecklist
Co-authored-by: Michael Doronin warrior2031@mail.ru