about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-manual-rec.nix
blob: 23459e384a94157fb539ac48b08949bb54878c6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Manual desugaring of something similar to `rec`, to test lower level
# recursion primitives.

let
  set = with set; {
    a = 21;
    b = a * 2;
  };
in
set.b