about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-closure-self.nix
let
  # self-recursive function should be able to close over itself
  f = n: if n <= 0 then "done" else f (n - 1);
in f 10