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









                    
                                    
 

            

                         

                               
 
rec {

  x = 123;

  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;

}