| 11 Dec 2025 |
piegames | In reply to @aloisw:julia0815.de packages.r"1password" Why the r" though? Because strings as identifiers literally already work today | 20:54:16 |
piegames | I think y'all are confusing "raw identifiers" with "raw strings" | 20:54:45 |
Charles | i don't think they do:
nix-repl> "1" = 2
Added "1".
nix-repl> "1"
"1"
| 21:04:59 |
Charles | you need some syntax to "dereference" a string as if it were a variable | 21:05:43 |
Charles | you can work around the lack of this today with this suggestion though | 21:06:09 |
Charles | like this | 21:06:17 |
Charles | e.g. imagine being able to do this instead of the workaround:
nix-repl> "1" = 2
Added "1".
nix-repl> i"1"
2
| 21:08:48 |
helle (just a stray cat girl) | the rules for how strings vs substraction works does need to be easy to teach, so not too much heuristic pleaaaaase | 21:09:39 |
helle (just a stray cat girl) | we wouldgo off on a massive UX and teaching this sort of stuff rant if we weren't feeling nauseous | 21:10:10 |