From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CD/QC2+5MWHFQAAAgWs5BA (envelope-from ) for ; Fri, 03 Sep 2021 07:58:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QB5oB2+5MWEdZAAAB5/wlQ (envelope-from ) for ; Fri, 03 Sep 2021 05:58:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0773D1987E for ; Fri, 3 Sep 2021 07:58:07 +0200 (CEST) Received: from localhost ([::1]:37100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM2DG-0003Xl-3h for larch@yhetil.org; Fri, 03 Sep 2021 01:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM2DC-0003Xd-Pj for guix-patches@gnu.org; Fri, 03 Sep 2021 01:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM2DC-00063Z-Hu for guix-patches@gnu.org; Fri, 03 Sep 2021 01:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mM2DC-000620-Cb for guix-patches@gnu.org; Fri, 03 Sep 2021 01:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50349] [PATCH] packages: Add 'define-package' syntax. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Sep 2021 05:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50349 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sarah Morgensen , 50349@debbugs.gnu.org Received: via spool by 50349-submit@debbugs.gnu.org id=B50349.163064866023155 (code B ref 50349); Fri, 03 Sep 2021 05:58:02 +0000 Received: (at 50349) by debbugs.gnu.org; 3 Sep 2021 05:57:40 +0000 Received: from localhost ([127.0.0.1]:42580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM2Cq-00061P-Iq for submit@debbugs.gnu.org; Fri, 03 Sep 2021 01:57:40 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:35810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM2Co-00061C-CH for 50349@debbugs.gnu.org; Fri, 03 Sep 2021 01:57:39 -0400 Received: by mail-wr1-f52.google.com with SMTP id i6so6538216wrv.2 for <50349@debbugs.gnu.org>; Thu, 02 Sep 2021 22:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=Y8B4Vw/RtQ7E7bSQ8H69adXa7h7sA223u5r+betwoVs=; b=Z81tbLYlhNoG5NwJe1ZW5uTyK00RwtzamWeYxymOR94prPzn4cNte86WWVT5sL6rkE pWjUR1RpOkVoKAWmZK8dbTQYsTGFj9BBMb75440F6vfvLP45N3QZdnKTkXr/FNiMqJV2 ZMRyrk0wYR7O9wz0hAQXcygqZYVDmP6mcFTmYXtFyFRFf+qiVHGl5hM9Hm5+oHjeFYk4 1S56p+xfDu+Nl370hFXZD1Rr/CWXGEreAmvhUEn9+/PTBj/AKy3ksSPiJ+A6iuK8/jV3 RmpKDT2+l98f9nTpDvYwKbXsglpQ0hQtb2CBPJSxZEtlxUZX1Uh9fSJx87ugFkewPjmw f7Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Y8B4Vw/RtQ7E7bSQ8H69adXa7h7sA223u5r+betwoVs=; b=Mnd5PPLMqzBbAYwEXoZiGFHPL6NpfKyFFAWa5SBBSoQNAWJpx3BzbDB25YaFIpxKyo yRvRLAxv8w96jx2in0haHi1/FTDay72j6OfK4ZMMELaMt1Q8+TF7p931UNM9pvFYw9y2 +Qq6JPrh70g0ukAoYDFejjj0VEqWtsaStCeXnA4z2tBbbHE+wAAeA6GxlRm0WsOquTtw pzdZEky8BwEbx8qKHWkdS+URmjXSbQqekIieNg5HLXzyMPRsQkBeXm4YGlTrrSNjxuFU IDGUa1KZZpN9C5h0588mfSCHPsF9ZX681mh0RXOjw5jrcM36+M1MuOOwFILrwJ4XWq6t wBlA== X-Gm-Message-State: AOAM532YIs8rhzgMCptvBukkmQKjzwFUX7M5INQI+wmLggPrb63nXxwi ZjAs1fbbfMbXgJG9OKCoY9OxDVjXIR/JLQ== X-Google-Smtp-Source: ABdhPJwn9bomkuENq4IdnnYo1blbLl0uGWsTQhcAwJtXEzcDVNv2ph0Osd/Ln3bqWUHpDmSHHtrwEA== X-Received: by 2002:adf:dd11:: with SMTP id a17mr1957321wrm.132.1630648652472; Thu, 02 Sep 2021 22:57:32 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l2sm3489881wmi.1.2021.09.02.22.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 22:57:32 -0700 (PDT) From: zimoun In-Reply-To: <15d01b32313f5f2f291b120597719ae92bd26acd.1630639896.git.iskarian@mgsn.dev> References: <15d01b32313f5f2f291b120597719ae92bd26acd.1630639896.git.iskarian@mgsn.dev> Date: Fri, 03 Sep 2021 07:41:18 +0200 Message-ID: <86h7f21aip.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 0773D1987E X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: JK+vDEZvOCOM Hi Sarah, On Thu, 02 Sep 2021 at 21:06, Sarah Morgensen wrote: > (define-package my-favorite-package > (name "my-favorite-package") > ...) > > The purpose is primarily to save the horizontal indent, but IMO it looks > better, and is marginally more clear for newcomers. I think ideally we c= ould > eventually transition to using this syntax as the primary syntax and only= use > 'define-public' when necessary. On one hand, I think it is a good idea; especially for newcomers. On the other hand, it will break =E2=80=99git-blame=E2=80=99, isn=E2=80=99t it? Therefore, I am not convinced such change is worth for =E2=80=99gnu/package= s/=E2=80=99. Instead it seems worth only for teaching custom packages. Explaining to people in my labs, they are often confused between =E2=80=99define=E2=80=99= and =E2=80=99define-public=E2=80=99. But then, there is two =E2=80=9Cstyles=E2= =80=9D and people could be more confused. Well, my feelings are mixed. Thanks for opening the discussion. :-) Cheers, simon