mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +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,6 +1,6 @@
|
|||
# Checks that the nul value for the accumulator is not forced unconditionally.
|
||||
# Some languages provide a foldl' that is strict in this argument, but Nix does not.
|
||||
builtins.foldl'
|
||||
(_: x: x)
|
||||
(throw "This is never forced")
|
||||
[ "but the results of applying op are" 42 ]
|
||||
builtins.foldl' (_: x: x) (throw "This is never forced") [
|
||||
"but the results of applying op are"
|
||||
42
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue