!9IQChSjwSHXPPWTa:lix.systems

Lix

1105 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-rooms295 Servers

Load older messages


SenderMessageTime
13 Oct 2025
@lillecarl:matrix.orglillecarlI love how it was merged a year ago and I have been refraining from using pipe operator because I didn't know this.... Get my priorities straight man!!!14:51:35
@lillecarl:matrix.orglillecarl * I love (not) how it was merged a year ago and I have been refraining from using pipe operator because I didn't know this.... Get my priorities straight man!!!14:51:43
@bandithedoge:matrix.orgbandithedogenil and nixd support it too14:52:12
@bandithedoge:matrix.orgbandithedogeand statix if you build from master14:52:22
@raitobezarius:matrix.orgraitobezariuswarning14:53:11
@raitobezarius:matrix.orgraitobezarius pipe-operator in CppNix and pipe-operators in Lix are two different things 14:53:19
@mangoiv.:matrix.orgMangoIVin what way 14:54:11
@raitobezarius:matrix.orgraitobezariusI think CppNix only support one of the operator14:54:36
@raitobezarius:matrix.orgraitobezariusnot both14:54:37
@raitobezarius:matrix.orgraitobezariushence singular vs. plural14:54:40
@raitobezarius:matrix.orgraitobezariusand there might be some associativity thing I don't remember14:54:49
@raitobezarius:matrix.orgraitobezariusI don't use pip operators14:54:51
@raitobezarius:matrix.orgraitobezarius* I don't use pipe operators14:54:53
@mangoiv.:matrix.orgMangoIVin the PR it looks like it supports both 14:55:21
@bandithedoge:matrix.orgbandithedogeisn't it the other way around?14:58:14
@thubrecht:matrix.orgthubrechtThe other way around14:59:03
@mangoiv.:matrix.orgMangoIVadding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun 14:59:33
@lillecarl:matrix.orglillecarl
In reply to @mangoiv.:matrix.org
adding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun
At some point people have to try new things out. nixpkgs requires nix >=2.18(2023). If people want to use new things in their own repos that's one thing. Nixpkgs will be conservative either way. What better way to try out new syntax sugar in a fork and see if it sticks?
15:03:01
@lillecarl:matrix.orglillecarl
In reply to @mangoiv.:matrix.org
adding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun
* At some point people have to try new things out. nixpkgs requires nix >=2.18(2023). If people want to use new things in their own repos that's one thing, Nixpkgs will be conservative either way. What better way to try out new syntax sugar in a fork and see if it sticks?
15:03:19
@mangoiv.:matrix.orgMangoIVyeah I'm all for trying things out, but the kind of "progress" this brings is questionable, imo15:04:08
@raitobezarius:matrix.orgraitobezariusthx15:04:27
@raitobezarius:matrix.orgraitobezariusif I disappear and forget about it, please ping me15:04:33
@quadradical:federated.nexusQuadRadical (Ping) ok! 15:04:40
@raitobezarius:matrix.orgraitobezariuslanguage versioning would help tremendously but is hard to pull off15:04:51
@raitobezarius:matrix.orgraitobezariusthis is the only feature like this15:05:03
@raitobezarius:matrix.orgraitobezariuscoerce-integers is also this way15:05:06
@mangoiv.:matrix.orgMangoIV why I think this is a footgun and not an improvement:
foo |> bar is usually evaluated right to left, since bar is demanding foo in its body. So while in f# this might be a good idea since it is eagerly evaluated, it is not a good idea in lazy languages. I'm not sure if that's any evidence on this, but Haskell uses $ as the application operator, which is (conceptually) the same as <|.
15:12:50
@mangoiv.:matrix.orgMangoIVas a users you might think that nix is evaluation foo and then applies bar to the result, but that's absolutely not what happens. 15:13:58
@mangoiv.:matrix.orgMangoIV* as a users you might think that nix is evaluating foo and then applies bar to the result, but that's absolutely not what happens. 15:14:17
@quadradical:federated.nexusQuadRadical (Ping) sure! NIX_REMOTE=local sudo nix build --no-sandbox .#checks.x86_64-linux.nextest 15:43:17

Show newer messages


Back to Room ListRoom Version: 10