!9IQChSjwSHXPPWTa:lix.systems

Lix

1120 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms302 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Dec 2025
@piegames:flausch.socialpiegames
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:flausch.socialpiegamesI think y'all are confusing "raw identifiers" with "raw strings"20:54:45
@charles:computer.surgeryCharles

i don't think they do:

nix-repl> "1" = 2
Added "1".

nix-repl> "1"
"1"
21:04:59
@charles:computer.surgeryCharlesyou need some syntax to "dereference" a string as if it were a variable21:05:43
@charles:computer.surgeryCharlesyou can work around the lack of this today with this suggestion though21:06:09
@charles:computer.surgeryCharleslike this21:06:17
@charles:computer.surgeryCharles

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:tacobelllabs.nethelle (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 pleaaaaase21:09:39
@helle:tacobelllabs.nethelle (just a stray cat girl)we wouldgo off on a massive UX and teaching this sort of stuff rant if we weren't feeling nauseous21:10:10

Show newer messages


Back to Room ListRoom Version: 10