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
Add some Python comprehensions as syntax for attrset generation #2543
Comments
Another example where this would be nice.
It's functional style is a bit mess. When rewriting in comprehension style, it will look like:
This comprehension solution is more natural than
cc @edolstra |
@volth can you show the desired syntax, how ZRAM example would look like? |
|
I marked this as stale due to inactivity. → More info |
I closed this issue due to inactivity. → More info |
To create a dictionary from list I do like this:
This is not nice. What about this:
and this
Essentially this will be syntax sugar for
inherit
:The text was updated successfully, but these errors were encountered: