mirror of
https://github.com/NixOS/nix
synced 2024-10-18 14:32:45 -04:00
70b396649c
nix-repl> bools = [ false true ] nix-repl> combinations = builtins.concatMap (a: builtins.concatMap (b: map (c: { inherit a b c; }) bools) bools) bools nix-repl> builtins.all ({ a, b, c }: (a -> b -> c) == (a -> (b -> c))) combinations true nix-repl> builtins.all ({ a, b, c }: (a -> b -> c) == ((a -> b) -> c)) combinations false |
||
---|---|---|
.. | ||
constructs | ||
advanced-attributes.md | ||
builtin-constants-prefix.md | ||
builtin-constants-suffix.md | ||
builtins-prefix.md | ||
builtins-suffix.md | ||
constructs.md | ||
derivations.md | ||
import-from-derivation.md | ||
index.md | ||
operators.md | ||
string-interpolation.md | ||
values.md |