b8cb7abcf0
Here's my guide so far: $ rg '((?!(recursive).*) Nix (?!(daemon|store|expression|Rocks!|Packages|language|derivation|archive|account|user|sandbox|flake).*))' -g '!doc/' --pcre2 All items from this query have been tackled. For the documentation side: that's for https://git.lix.systems/lix-project/lix/issues/162. Additionally, all remaining references to github.com/NixOS/nix which were not relevant were also replaced. Fixes: https://git.lix.systems/lix-project/lix/issues/148. Fixes: https://git.lix.systems/lix-project/lix/issues/162. Change-Id: Ib3451fae5cb8ab8cd9ac9e4e4551284ee6794545 Signed-off-by: Raito Bezarius <raito@lix.systems>
6 lines
280 B
Nix
6 lines
280 B
Nix
# 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 language does not.
|
|
builtins.foldl'
|
|
(_: x: x)
|
|
(throw "This is never forced")
|
|
[ "but the results of applying op are" 42 ]
|