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 gEBpJjZrv2ATtgAAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 15:05:58 +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 qOHvITZrv2BTLAAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 13:05:58 +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 51BC217C60 for ; Tue, 8 Jun 2021 15:05:58 +0200 (CEST) Received: from localhost ([::1]:37798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqbQb-0000Zg-CV for larch@yhetil.org; Tue, 08 Jun 2021 09:05:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqbQM-0000Wp-Qq for guix-devel@gnu.org; Tue, 08 Jun 2021 09:05:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60930) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqbQJ-00032A-U2; Tue, 08 Jun 2021 09:05:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34164 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqbQE-00051w-PW; Tue, 08 Jun 2021 09:05:39 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ryan Prior Subject: Re: [PATCH RFC 0/4] Getting rid of input labels? References: <20210520145830.14108-1-ludo@gnu.org> <87wnrsw15h.fsf@nicolasgoaziou.fr> <87y2c1twya.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Prairial an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 08 Jun 2021 15:05:33 +0200 In-Reply-To: (Ryan Prior's message of "Sun, 30 May 2021 16:23:13 +0000") Message-ID: <878s3kh5gi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Nicolas Goaziou Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623157558; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0GwiJGErsyGaKCXdf0E56uSZE25qr5zcaNOSyRO/8G4=; b=Kx6JjEjOWcEtH7Bff0gb6tbONln9aq9xSB/+jXC/TGRKxXuFucZJJxX0VesOFFRyKPU/SD nPXez9QFwTDiYUoZARI4VFOLTQ3JnJgBoTmvNdYHoh8am0nt1hzvmk5tvbXSC8dQQOMdGH pd7rR+KdvupSRi5L0CFFpNCGfgWZIQJHuvdLTimhzUIVmm30DR9PAuoVJrOBvb/+3Mx1rA YAzgRFrvqEdjYAeFuNQ6LdrQWxAkVETJxCQGYEO+Gf/Xn4qiEMt0XLhEURspFleGT0ZI8k MfDK8IoHTG04jepEzFIvF/8GdgQvQ5qIacvNsSNifyCNGsCbRhOMCm1l1PXQjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623157558; a=rsa-sha256; cv=none; b=MfgBV4eij0JtMRhwzhAMcW/M5QmRdTT2b1rZ8jy83BNF2YVpPwMlPFeWDXKpC5okFhLtxf vn8OSWkeUZAULeGkrXfsbo35NGLOYEiEwoGEXGreEficHCvuLrDzow40zD7SxYBvXSK5GL yQmcNsf8GAuZP1bKeHExl+p1YSeltqI2HWK19XNQI+keHq5kiNwdwfG57/yPGiK8euIWfy TXIdQsBoJEe7XA1/e55IeZh4kMrvpcF/66u8fY56p0e8Vwrs2laEZcudutUyrpEBPQuLBi SE/oJAmrefSgXe7zUjTQHvWm8EF7hjF8F8Sgwk/9dXRFKkJ0KdRSwdSUDhZGHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 51BC217C60 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: ALXe7XMhzM/K Hi, Ryan Prior skribis: > I think there's an opportunity to avoid the need to "fall back" to the st= atus quo, though. I picture a structure for inputs that has three cases, tr= ivially decided based on data shape: > > - a bare symbol, eg '(tzdata glib) > this is translated to `(("tzdata" ,tzdata) ("glib" ,glib)) > works the exact same if the symbol is an =3Dorigin=3D, you get the name= of the symbol quoted followed by the value of the symbol. A =E2=80=9Cbare symbol=E2=80=9D cannot be translated into a reference to a = variable in the way you write. I=E2=80=99m leaning towards either the new style: (list glib tzdata) or the old style: (("tzdata" ,tzdata) ("glib" ,glib)) but not a mixture of both, which would require more code to be properly interpreted, leading to slowdowns on the hot path and generally making it more difficult to interpret what=E2=80=99s in there. Thanks, Ludo=E2=80=99.