Files
lix/tests/functional2/repl_characterization/repl_basics/idempotent.md
T
rootile ab8cdcc9b8 tests(f2/repl): migrate basic tests
Change-Id: I22241734a7249d376c86b3a226c5f1a82c03fd33
2026-06-11 16:19:20 +02:00

337 B

A previously unforced thunk is an attribute set does not lead to indentation when it won't evalutate to a neted structure:

:p let x = 1 + 2; in [ { inherit x; } { inherit x; } ]
[
  { x = 3; }
  { x = 3; }
]

Same for a list:

:p let x = 1 + 2; in [ [ x ] [ x ]]
[
  [ 3 ]
  [ 3 ]
]