about summary refs log blame commit diff
path: root/third_party/nix/tests/lang/eval-okay-xml.nix
blob: 9ee9f8a0b4f51114998595d2266b6dff13e2e308 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



          

              





                    
                                    
 

            

                         

                               
 
rec {

  x = 123;

  y = 567.890;

  a = "foo";

  b = "bar";

  c = "foo" + "bar";

  f = {z, x, y}: if y then x else z;

  id = x: x;

  at = args@{x, y, z}: x;

  ellipsis = {x, y, z, ...}: x;

}