mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-28 01:17:12 +08:00
9 lines
161 B
Text
9 lines
161 B
Text
= List operations
|
|
|
|
Lists can be concatenated using the `++` operator.
|
|
|
|
[source]
|
|
....
|
|
nix-repl> [ 1 2 3 ] ++ [ "apple" "banana" ]
|
|
[ 1 2 3 "apple" "banana" ]
|
|
....
|