1
2
3
4
5
6
7
{
  foo = rec {
    x = 1;
    y = 2;
  };
  foo.bar = y;
}