Add '23.nix'

This commit is contained in:
NaiJi ✨ 2022-04-18 06:43:41 +00:00
parent 13ff8f66a9
commit aad713b6fe
1 changed files with 9 additions and 0 deletions

9
23.nix Normal file
View File

@ -0,0 +1,9 @@
let
x = 123;
as = { a = "foo"; b = "bar"; x="234"; };
in with as; {
res = x; # what value is res bound to?
}
# naiji: 'let' has priority over 'with'