forked from lix-project/lix
raito
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 lix-project/lix#162.
Additionally, all remaining references to github.com/NixOS/nix which
were not relevant were also replaced.
Fixes: lix-project/lix#148.
Fixes: lix-project/lix#162.
Change-Id: Ib3451fae5cb8ab8cd9ac9e4e4551284ee6794545
Signed-off-by: Raito Bezarius <raito@lix.systems>
7 lines
280 B
Nix
7 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 ]
|