From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cGo0N3mKM2HlgQAAgWs5BA (envelope-from ) for ; Sat, 04 Sep 2021 17:02:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0MrmMnmKM2EtaAAA1q6Kng (envelope-from ) for ; Sat, 04 Sep 2021 15:02:17 +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 6E56C1665C for ; Sat, 4 Sep 2021 17:02:17 +0200 (CEST) Received: from localhost ([::1]:42304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMXBQ-0005aC-H3 for larch@yhetil.org; Sat, 04 Sep 2021 11:02:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMXBD-0005Vf-2w for bug-guix@gnu.org; Sat, 04 Sep 2021 11:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMXBC-0004BF-Jb for bug-guix@gnu.org; Sat, 04 Sep 2021 11:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMXBC-0007FZ-HB for bug-guix@gnu.org; Sat, 04 Sep 2021 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50349: [PATCH] packages: Add 'define-package' syntax. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Sep 2021 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50349 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Taylan Kammer Cc: 50349@debbugs.gnu.org, Sarah Morgensen , Maxime Devos , guix-patches@gnu.org Received: via spool by 50349-submit@debbugs.gnu.org id=B50349.163076767427789 (code B ref 50349); Sat, 04 Sep 2021 15:02:02 +0000 Received: (at 50349) by debbugs.gnu.org; 4 Sep 2021 15:01:14 +0000 Received: from localhost ([127.0.0.1]:48373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMXAQ-0007E8-4k for submit@debbugs.gnu.org; Sat, 04 Sep 2021 11:01:14 -0400 Received: from tobias.gr ([80.241.217.52]:52806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMXAN-0007Dz-Lv for 50349@debbugs.gnu.org; Sat, 04 Sep 2021 11:01:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=5CoyPAfSPxI01 KgGVWKHXg2AusQ3GFBFz653Rgk/J1c=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=BMt17gPiOKzLxWYPJDUW9EvvGo1/l3ipjjBssp 5zlTOaucKdvc83AivqFF2VzjKtlnjgNabtjgByjPqXUf5dElHRjdoqyO56KHDsqXWdvCDD 4AUq4TY4tT2wuZu+DJyBAOHboezayfrWnds3w6LDMiGT+LnU5mPLZ4BOpNJXwSCZoNLeS+ iVYFy/ZoujuF2EZ++iTEYutrFuCJO2sCx1BoBN59cnNjqfGdcENkwUpxYPzgpDCWabYkQ4 cRPZx1QhDRBbbLdCbM7wojNLDbhUmosEgFalqUtAQAept3Q/nsrX5CEFMS8K2ZnN8sJSMH nXKIcR4k+udE0CRzoGgDOveQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1b3a79e6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 4 Sep 2021 15:01:05 +0000 (UTC) References: <15d01b32313f5f2f291b120597719ae92bd26acd.1630639896.git.iskarian@mgsn.dev> <757b7543b931335c3725264edfbc79c012aa10fc.camel@telenet.be> <87y28caazy.fsf@nckx> <95c92fc5-1fcf-b347-370e-d1943f22c2c3@gmail.com> Date: Sat, 04 Sep 2021 16:44:49 +0200 In-reply-to: <95c92fc5-1fcf-b347-370e-d1943f22c2c3@gmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87bl58wfk7.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630767737; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=5CoyPAfSPxI01KgGVWKHXg2AusQ3GFBFz653Rgk/J1c=; b=gynwTjCSzosVAZrxcE8uulG1Q+5oHI5+ybXK1OjgyrsxtVCh73r4qqje2P/27tElXX446n B7XJPiwOFJliuiJGNSK8hW2Dej99LuMyDxHzsVKtosbBxz6r1WriOjYOl0WDI3jOT3/I0x OzR7CHR4nnO/oMbIAacGWCubpoHln8pYz9keVSASeY0mAfS4rKpDLOmRmeOJ1/U6Shj5i2 fURgRNtw7DM9F91VPBvQJ31TYs4HWvz1jjeUgvpP3QzrcPikgLWjFt5sowkESZiItO3mNy 5oyicfwGXmnxotklfoRGIwycnUjeKKKL+CxQYnNEuYwOEsV0DwAdptxSTfLYxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630767737; a=rsa-sha256; cv=none; b=h5tDZMLyF92LYLaqAJpiFKES/qXJ2ynLfCVhAZhDKXsv0MmHD13gfTi9CMLuRxBG8h0pok 8QanC1bE+daiWO9rfFfwCE0SNXdVjPxrJf5nU4frnHN5yzJw+fDL/S+rMsxt0eGGKWffaB SzpQO0Khbo1EM5pPiuBuil46o/Sjpa2hdXqfOFvQVpFKVtNeCGUarMmI1mxzjMLDh8zrMd MaOiEMTTOqhV4f9laLmPA1crPsmhoPmAj+Yi2nbqlbUQw8YZp0intOK/0lxQZ2O82cTWRN f4VZg1wikFqi6YzXwnAiIk2tSNCOFwrAUOKqdwqtkIaqi2M5sXV5fA51O1MzAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=BMt17gPi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=BMt17gPi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6E56C1665C X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: 56GSOSh4rq0+ --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Taylan Kammer =E5=86=99=E9=81=93=EF=BC=9A > To me the most obvious thing to do seems > > (define-package foo ...) ;no explicit name needed > > to bind the variable 'foo' and use symbol->string for the name=20 > of the > package, with the possibility to override the name like > > (define-package foo (name "foobar") ...) > > which would bind the variable 'foo' to a package named "foobar". Right, that's what I meant, and it's how I read bug #15284, and it=20 looks remarkably like the form I use in my personal channels (and=20 I'm sure I'm not the first! :-). You're much better at the language/implementation side of things=20 than I am, Taylan. Would this negatively affect performance=20 (including =E2=80=98guix pull=E2=80=99 compilation)? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYTOKOQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW153NAA/REHwe3zGjottM6pjEg6RnF9/Fb6r7m4Ruv8liXc rkmIAQDOwXDxmTgkvU9XDyiLCd9i4BZPb4Qpq8v40uevQpDaBw== =gupr -----END PGP SIGNATURE----- --=-=-=--