mirror of
https://github.com/NixOS/nix
synced 2025-07-09 12:03:55 +02:00
Format .nix files
... with nixfmt (rfc style)
This commit is contained in:
parent
ba6425a7d0
commit
96e550efc5
266 changed files with 7460 additions and 5138 deletions
|
@ -1,11 +1,34 @@
|
|||
with builtins;
|
||||
|
||||
[ (any (x: x == 1) [])
|
||||
(any (x: x == 1) [2 3 4])
|
||||
(any (x: x == 1) [1 2 3 4])
|
||||
(any (x: x == 1) [4 3 2 1])
|
||||
(all (x: x == 1) [])
|
||||
(all (x: x == 1) [1])
|
||||
(all (x: x == 1) [1 2 3])
|
||||
(all (x: x == 1) [1 1 1])
|
||||
[
|
||||
(any (x: x == 1) [ ])
|
||||
(any (x: x == 1) [
|
||||
2
|
||||
3
|
||||
4
|
||||
])
|
||||
(any (x: x == 1) [
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
])
|
||||
(any (x: x == 1) [
|
||||
4
|
||||
3
|
||||
2
|
||||
1
|
||||
])
|
||||
(all (x: x == 1) [ ])
|
||||
(all (x: x == 1) [ 1 ])
|
||||
(all (x: x == 1) [
|
||||
1
|
||||
2
|
||||
3
|
||||
])
|
||||
(all (x: x == 1) [
|
||||
1
|
||||
1
|
||||
1
|
||||
])
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue