mirror of
https://github.com/NixOS/rfcs.git
synced 2025-11-09 03:56:11 +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
|
start-date: 2024-07-14
|
||||||
author: rhendric
|
author: rhendric
|
||||||
co-authors:
|
co-authors:
|
||||||
shepherd-team: @infinisil
|
shepherd-team: infinisil
|
||||||
shepherd-leader:
|
shepherd-leader:
|
||||||
related-issues: https://github.com/NixOS/nix/issues/10949, https://github.com/NixOS/rfcs/pull/137
|
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]: #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:
|
This would enable expressions such as the following:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue