about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-attrnames.nix
blob: 82240a06473fbb8c6ef20cd46f46fca718b08fa2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
 
                          










                                                     
[
  (builtins.attrNames { })
  (builtins.attrNames { foo = 1; bar = 2; baz = 3; })
  (builtins.attrNames { Foo = 1; bar = 2; Baz = 3; })
  (builtins.attrNames {
    "Graham Chapman" = true;
    "John Cleese" = true;
    "Terry Gilliam" = true;
    "Eric Idle" = true;
    "Terry Jones" = true;
    "Michael Palin" = true;
  })
]