Add a note about lists values.md

There's probably more that can be said, but I thought it might be helpful to put something here about how to access elements of a list for folks coming from more or less any other programming language. If this is rarely used, it might be nice to add to the documentation something about why it's rarely used.
This commit is contained in:
nbelakovski 2024-02-10 18:52:39 -08:00 committed by GitHub
parent 28a988bdde
commit f298159a2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,6 +156,8 @@ function and the fifth being a set.
Note that lists are only lazy in values, and they are strict in length.
Elements in a list can be accessed using `builtins.elemAt`.
## Attribute Set
An attribute set is a collection of name-value-pairs (called *attributes*) enclosed in curly brackets (`{ }`).