diff --git a/23.nix b/23.nix new file mode 100644 index 0000000..b63fc21 --- /dev/null +++ b/23.nix @@ -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' \ No newline at end of file