From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uKc4HO7SmGIbuwAAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 17:10:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AM0bHO7SmGK1+QAAauVa8A (envelope-from ) for ; Thu, 02 Jun 2022 17:10:38 +0200 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 113F539D60 for ; Thu, 2 Jun 2022 17:10:38 +0200 (CEST) Received: from localhost ([::1]:38866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwmT7-0005MN-8C for larch@yhetil.org; Thu, 02 Jun 2022 11:10:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwmRb-0003Pj-MI for guix-patches@gnu.org; Thu, 02 Jun 2022 11:09:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwmRa-0000H8-9b for guix-patches@gnu.org; Thu, 02 Jun 2022 11:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwmRZ-00049Z-S0 for guix-patches@gnu.org; Thu, 02 Jun 2022 11:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55653] [PATCH] guix: Add syntactic sugar for profile generation. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Jun 2022 15:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55653 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Liliana Marie Prikler Cc: Andrew Tropin , 55653@debbugs.gnu.org, zimoun Received: via spool by 55653-submit@debbugs.gnu.org id=B55653.165418248615888 (code B ref 55653); Thu, 02 Jun 2022 15:09:01 +0000 Received: (at 55653) by debbugs.gnu.org; 2 Jun 2022 15:08:06 +0000 Received: from localhost ([127.0.0.1]:54396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwmQf-00048C-Fa for submit@debbugs.gnu.org; Thu, 02 Jun 2022 11:08:05 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:39642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwmQZ-00047h-5V for 55653@debbugs.gnu.org; Thu, 02 Jun 2022 11:08:03 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id eF7w2700i4UW6Th01F7xtu; Thu, 02 Jun 2022 17:07:57 +0200 Message-ID: <49464e89e7ef5970577319264f1d37d17dc44faf.camel@telenet.be> From: Maxime Devos Date: Thu, 02 Jun 2022 17:07:46 +0200 In-Reply-To: <87sfonp4vr.fsf@gnu.org> References: <10354f31e0be9bcb88b78da2fb8a2a3c3acbde10.camel@gmail.com> <87sfopyfte.fsf@gnu.org> <87zgiwtbid.fsf@gnu.org> <60b305664d635fa72c2162d0e55fe44af3c95461.camel@gmail.com> <87sfonp4vr.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-RiM3BdA/Np6MSgdv+kP3" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1654182477; bh=qTFGXaDoMquR4z+YrZG033YtrCILHUh8E4Mi67IOA+8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=HXurD6SsapA7jZTKJWn4UV36NPWDcA4n9Ta6RTN72Zd1ULF12/lA2cOr6yJ7HSALp 2sR4wXZ2pL0tgfZdnNFhm7VU4b2OngEurZ6aCvEeR8EdqFxLhO1JjX40qWBY3R2aX3 lu6tJCRN35WnCKbU8hHHEiapxphQH6geq98JJZhZ1VEGU9McqgX4OLWLj+Z+w1/MS/ HG20JhFnz5WUziDYjhGrKqMfSiDjMecS3dDnX+OKTAryBejk1R8UehfFIHRJIdx1BJ 6eNkbPA4wL7K4vgL3mJ0uAvxjB9iGdhyqbT6HcANHlWbFSscKOycs1b/RAkvJJpOnh 3himCKVFXfPPQ== 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654182638; h=from:from:sender:sender: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=qTFGXaDoMquR4z+YrZG033YtrCILHUh8E4Mi67IOA+8=; b=R4cYNup1pHGLmAYu3Dnwbl3vuOuGyVcVJV1p+av84aIbVRFjsfTFNXToHHBLuTBOI6u03X 8rHxQIxUj39hExwttTYb5Ig21UouWt+3eCLmUtxeyel0ENxmmVbA8ztPXEPzN6IqYojJWP skZQdi0pGmlafyE0hW8ARhn1MDVCiQW/weOYyk9S8ggjzlWu5rYpDvdSrdKxaYPo20LPdD 2NZJin3DWXP4BKxZO0gAwb6pscaqGcY50o23eHK/19dhDmxMPvj7WlnzZdg9YWp9b2O/tH vRlkM4CyJfK7bK65ajceKvUWyQzAOC1WJPatzjDIFgDyxe94egrHbcpt0LHLTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654182638; a=rsa-sha256; cv=none; b=OIwuBhGk3JCQa9ps6qyvjQPnZQbcsC36BRDHcotMV1SvCWlglOIUYb9ixA3OxY0Tu2SQUQ 7S8VBQP/irDXModUIyvhwzAK1T6hCs6KMG/ZYe+E7ozpKvGgUQfTBMdJPxMfvhx6B9kNx7 BAEh1uLsUgMoTZsf+gQNzk44Z8+G4tD/M0M5gPtaolb/+oPPPmGjZEZ+OzDKKPFG18j8Ts mvvo5xnX1zNuokGyKATJ4A5AN2Dz3K0pi7lvDbnNRA9WHn5N4IbTJUABbu1QYFB23xBswt FBNANs6u3zDzvmP9fRiZFJHYyz5Y1n+BM7PF4DCF9qWx1o+5iwiIueUzcU0wUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HXurD6Ss; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HXurD6Ss; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 113F539D60 X-Spam-Score: 4.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: SY0j3M57Bhvd --=-RiM3BdA/Np6MSgdv+kP3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 02-06-2022 om 15:32 [+0200]: > Still I=E2=80=99m not a fan of having syntax that looks like a field but = is not > an actual field, if we can avoid it.=C2=A0 I prefer to expose the data > structure as it exists and, if needed, to build abstractions on top of > it.=C2=A0 (The ABI issue that Maxime mention is real but I don=E2=80=99t = think it=E2=80=99s a > big problem in practice.) FWIW I've some ideas for stable ABIs for record constructors even when fields are added/removed or change from direct/thunked/delayed, a stable ABI can be defined later. Greetings, Maxime. --=-RiM3BdA/Np6MSgdv+kP3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpjSQhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oviAP9Bksiw+RbkmjysQVhKosOJUcaH QUa6R1u7yKMNzrIhDAEA97oad6Yy6hMi3pAwafRFEzO+XcwkiErV22I7xItUoAI= =JSDV -----END PGP SIGNATURE----- --=-RiM3BdA/Np6MSgdv+kP3--