зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 13:16:07 +02:00
8 строки
292 B
Plaintext
8 строки
292 B
Plaintext
Lists
|
|
Lists are a sequence of expressions delimited by space (not comma):
|
|
nix-repl> [ 2 "foo" true (2+3) ]
|
|
[ 2 "foo" true 5 ]
|
|
|
|
Lists, like everything else in Nix, are immutable.
|
|
Adding or removing elements from a list is possible, but will return a new list.
|