snix/tvix/eval/src/tests/tvix_tests/notyetpassing
sterni 8adc9c56f2 docs(tvix): document when pointer equality is preserved in C++ Nix
This explicitly documents behavior of C++ Nix that goes against the
intuition you'd gather from this document: that e.g. a simple select
from an attribute set causes a value to no longer be pointer equal to
its former self.

The point of documenting this is that we can show in a to be written
section on the use of pointer equality in nixpkgs that pointer equality
is only needed in a limited sense for evaluating it (C++ Nix's exterior
pointer equality). Tvix's pointer equality is far more powerful since
value identity preserving operations also preserve pointer equality,
generally speaking (this is because we implement interior pointer
equality in my made up terminology). This should eventually also be
documented.

Change-Id: I6ce7ef2d67b012f5ebc92f9e81bba33fb9dce7d0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8856
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2023-07-11 16:17:42 +00:00
..
eval-fail-builtins-genericClosure-uncomparable-keys.nix test(tvix/eval): genericClosure (pointer) comparison support 2023-06-15 11:01:06 +00:00
eval-fail-builtins-genericClosure-uncomparable-keys2.nix test(tvix/eval): genericClosure (pointer) comparison support 2023-06-15 11:01:06 +00:00
eval-okay-builtins-set-pointer-equality.exp docs(tvix): document when pointer equality is preserved in C++ Nix 2023-07-11 16:17:42 +00:00
eval-okay-builtins-set-pointer-equality.nix docs(tvix): document when pointer equality is preserved in C++ Nix 2023-07-11 16:17:42 +00:00
eval-okay-cycle-display-cpp-nix-2.13.exp fix(tvix/eval): make tvix display values like nix-instantiate(1) 2023-06-15 11:01:06 +00:00
eval-okay-cycle-display-cpp-nix-2.13.nix fix(tvix/eval): make tvix display values like nix-instantiate(1) 2023-06-15 11:01:06 +00:00
eval-okay-minimal-2.3-builtins.exp test(tvix/eval): add test for builtins parity 2023-01-06 12:00:38 +00:00
eval-okay-minimal-2.3-builtins.nix test(tvix/eval): add test for builtins parity 2023-01-06 12:00:38 +00:00
eval-okay-non-identifier-pointer-inequality.exp docs(tvix): document when pointer equality is preserved in C++ Nix 2023-07-11 16:17:42 +00:00
eval-okay-non-identifier-pointer-inequality.nix docs(tvix): document when pointer equality is preserved in C++ Nix 2023-07-11 16:17:42 +00:00