| 1 Dec 2025 |
niko ⚡️ | I can't imagine there being that many | 11:49:31 |
raitobezarius | yeah, i expect this to be ≤10 | 11:49:34 |
raitobezarius | but we should prove it via large scale evaluations | 11:49:41 |
niko ⚡️ | And if someone is auto-calling a functor, they're probably doing it on accident | 11:49:49 |
raitobezarius | no one has been accidentally comparing attrsets with functions at all | 11:50:28 |
| * niko ⚡️ clueless | 11:50:48 |
raitobezarius | function pointer equality | 11:54:50 |
Qyriad | Autocall does nest but in practice it almost certainly only happens at toplevel or maybe one level deep 90% of the timebu | 11:56:10 |
K900 | Not function pointer | 11:56:20 |
K900 | Attrset pointer | 11:56:23 |
K900 | nix-repl> (x: x) == (x: x)
false
nix-repl> { f = x: x; } == { f = x: x; }
false
nix-repl> let f = x: x; in { f = f; } == { f = f; }
true
| 11:57:16 |
Qyriad | * Autocall does nest but in practice it almost certainly only happens at toplevel or maybe one level deep 90% of the time | 11:58:15 |
niko ⚡️ | Surely a very worth it optimization that never caused anyone any problems | 11:58:46 |
K900 | Fun fact: if you change this, nixpkgs eval breaks | 12:00:53 |
K900 | (disclaimer: not actually a fun fact) | 12:01:08 |