mirror of
https://github.com/NixOS/rfcs.git
synced 2025-11-08 19:46:12 +01:00
Be more precise with the word ‘element’
This commit is contained in:
parent
be069a8da2
commit
07d2247f62
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ feature: list-index-syntax
|
|||
start-date: 2024-07-14
|
||||
author: rhendric
|
||||
co-authors:
|
||||
shepherd-team: @infinisil
|
||||
shepherd-team: infinisil
|
||||
shepherd-leader:
|
||||
related-issues: https://github.com/NixOS/nix/issues/10949, https://github.com/NixOS/rfcs/pull/137
|
||||
---
|
||||
|
|
@ -11,7 +11,7 @@ related-issues: https://github.com/NixOS/nix/issues/10949, https://github.com/Ni
|
|||
# Summary
|
||||
[summary]: #summary
|
||||
|
||||
This proposal extends the attrpath syntax to include `'[' INT ']'` elements that refer to values in lists.
|
||||
This proposal extends the attrpath syntax to include `'[' INT ']'` components that refer to elements in lists.
|
||||
This would enable expressions such as the following:
|
||||
|
||||
```nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue