!9IQChSjwSHXPPWTa:lix.systems

Lix

1103 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-rooms293 Servers

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


SenderMessageTime
25 Oct 2025
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud that's the case i was thinking of, (f x: x) + 2 is a perfectly interpretation. i suppose you could say it consumes as much as possible, but that is sort of contrary to the behavior of say, [ f x ] where you don't consume more (though whether this is analogous is debatatable). you can absolutely define it to be that, but i feel like it would break precedent? dunno 13:56:32
@saiko:knifepoint.netKatalin 🔪
In reply to @kfears:matrix.org
They are somewhat ugly, but they are universal, unlike the backpipe which only works on the last argument
sure, but often you do specifically end up with lots of long expression as specifically the last parameter
13:56:43
@saiko:knifepoint.netKatalin 🔪
In reply to @kfears:matrix.org
They are somewhat ugly, but they are universal, unlike the backpipe which only works on the last argument
*
13:56:51
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud ah right, i forgot that this would be unambiguous. blocks are compelling (though i personally don't think it justifies the whole thing) 13:57:08
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud * ah right, i forgot that this would be there. blocks are compelling (though i personally don't think it justifies the whole thing) 13:57:15
@emilazy:matrix.orgemily mostly it's the main thing I can imagine wanting <| for 13:57:31
@emilazy:matrix.orgemily though not sure how I feel about stdenv.mkDerivation <| finalAttrs: …, that seems comparably noisy to the parens again :) 13:58:05
@emilazy:matrix.orgemily

the parens only really annoy me a bunch when they make nixfmt do something I hate, like

foo (
  a: b:
  …
)
13:58:33
@emilazy:matrix.orgemilyavoiding rightward drift of entire file bodies can require some unpleasant contortions13:59:02
@emilazy:matrix.orgemilyI ruled out several draft ideas for improvements to Nixpkgs package structure just because they would add another layer of indentation to every single package 😅14:00:33
@llakala:matrix.orgllakalai still don't use a formatter for my config because i can't stand any of them15:25:10
@llakala:matrix.orgllakalanixfmt is addicted to indentation15:25:16
@llakala:matrix.orgllakalai generally think nixfmt is good at what it was designed for (being a nixpkgs formatter)15:26:18
@llakala:matrix.orgllakala

but little things, like this:

{ lib, pkgs, config, ... }:

becoming this:

{
  lib,
  pkgs,
  config,
  ...
}:
15:29:00
@llakala:matrix.orgllakala

and this:

let
  # let content
in {

becoming this:

let
  # let content
in
{
15:30:21
@llakala:matrix.orgllakalaare the kind of things i can't stand15:30:35

Show newer messages


Back to Room ListRoom Version: 10