From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gB/pHFSWJmTLHwEASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 10:14:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KM0MHFSWJmRbpwAAG6o9tA (envelope-from ) for ; Fri, 31 Mar 2023 10:14:12 +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 3FDA83DFC8 for ; Fri, 31 Mar 2023 10:14:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pi9tO-0000Bf-8P; Fri, 31 Mar 2023 04:13:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9tH-0000Ak-EG for guix-devel@gnu.org; Fri, 31 Mar 2023 04:13:45 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9tG-0006E8-21 for guix-devel@gnu.org; Fri, 31 Mar 2023 04:13:43 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 100A8185326; Fri, 31 Mar 2023 08:13:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1680250419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MuNjiLH9CKcQt5MNYcR8l9KGR0Kh1+wfwFLe9zbN8+k=; b=MYVDht1O196J6E4viPIovZqmknL6M4Xex4/urepegPylDDE1WIEhFwBEFtlK3DABu6YzT+ 4mM98LIKu7XgoYe6HX7JjKuotTy7f/Y8d9TSHEgo5BCvj8N1K0wNOktUdAwnZv938hgqc8 MSy5oNywUUqbJL7+nip8D7YedUeFRYF8Vz1BeS2xsA5BZzNR9vDJgUaXGDbMNTrOoLo7Xe kx7noh8aPJ2rKvMzOxQ3sXR8XUBcm+Dx/XgLcqauiaeyXZEbbCDCDGX7m8g7/nGgqNw40F NJwZ2L+vIX1UzzD8i50Hf1f7FEro9XbGzlrFfU0Ito0gF1rV/DnpO3IlIvbDcg== From: Josselin Poiret To: Maxim Cournoyer , Andreas Enge Cc: guix-devel@gnu.org Subject: Re: Syntax and gexp for ff5f34ae757d709987896d6164bf125319a0f764 In-Reply-To: <87wn2xy8hz.fsf@gmail.com> References: <87wn2xy8hz.fsf@gmail.com> Date: Fri, 31 Mar 2023 10:13:36 +0200 Message-ID: <87cz4ps5hr.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680250452; a=rsa-sha256; cv=none; b=mirz62af5S/MwG9cVUll5JNHz6kWCAd+sPegxpXWH3yuBlxQ/d3iY2U8qYjJzt6vo6/Qlp Sr4vcUSi9b74UfijKyT/3y6pQR7qqxWi7Ah9y2tYW5ZqoGmyX+mnOL7u7A+A/5Q3l3MVSw 5Zdi+Crv7G8kmBisweQVIXBybGk24AlC/uzU7kSrGexQpozfHMRmoEhze78jn0Xb/DsQd1 2WLXjvdfXLAYffOcP4Dfj1h0zX8q7a2DK22N/8Yi1XpyJagPAXHcxOTpPRas62yh6U7iC9 RTOowEPUoFRQ8wXsKGH5gqXWtxobSMW43LGOPdeKRmaSKUd75bs9mA0bmJNr0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=MYVDht1O; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680250452; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MuNjiLH9CKcQt5MNYcR8l9KGR0Kh1+wfwFLe9zbN8+k=; b=oiBkTg7aZILuP6rTo/mmHlRCBbJVs5UZ+NLdIfaqztuAGh4/jzGaGTINICJdtq2NBsVApa 1BEQJcY3tDq1fcc8G11l2YYNGU9BAFIovRTaTOeNWKEzRNG3AiKj+VjRvpZLKGHCVurJ7i zWYiCRIJpDOzavK0ThC2Jjg8R42w/vr1NmFUb7Q3u/NLZvi/19ehYpqfZk4oR0/1kJdyuR r0MvRzHv5PDJ+yKPfPdsJqoCe1exrhQcChTRdL2WhTXgWYqhx7BvW3n47yF9UKniDLGAGl cGbvSflBmHW4+5g5Jy5RrDhEVSk4LIz4UuUcxbI4phrnzhMDiBEeTayB0eoXeQ== X-Migadu-Spam-Score: -7.28 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=MYVDht1O; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Spam-Score: -7.28 X-Migadu-Queue-Id: 3FDA83DFC8 X-TUID: rByPauqAO4gN --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Maxim, Maxim Cournoyer writes: > I've seen this too, but it disappears if you byte-compile the project. > I'm not sure what that means, although it does seems sub-optimal that we > rely on byte-compilation for the code to evaluate correctly. The problem actually comes from stale byte-compiled files. If you were to interpret everything, it would work properly. The issue is when a variable becomes a syntax-transformer, ie. a macro: then it should get expanded at compile-time, but guile doesn't recompile dependents (because it doesn't know about them). Hence, in dependent .go files, the variable didn't get expanded, and is then used at runtime, hence the error. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQmljAQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaigpnC/9odXNOqwdK5wTV2gLWfyxDBhqXbf/vWxJB w66m/rcq03wCb4mJENM1w3ciR2bKbFFV+mA8O+kDcWmacaMqTLsDuK/LxzOqBIch f4JUJ8HgOyuPUdlI71XmLvDPmrgG2oOedZbJecvtIb7ps46ZvFFNrrN26WqmM3ha 9WGFj5OyXJMAH7XAkg64TNcauv5rQiMBX8anUKwsp1xF2sn5HgIiyS7Irwjr7Ptn 396lzP6nC03oZ+lwqvl5HnkHmXPiN7vzb+jFSXlxNHjXe6KOtzn3ApNQLuEMRl4W 5iLMEoPM65B0E8xpZOaiHuD727AapU/nEUdYuuqSQgpwqsjf89ozNv2KQWxWDQ23 3wnFjf3J9fmfJUvgnMv9EFe+V68hFUJHznmqWO8cgbJhFvHgMwW+kOChRojQg6oB ZbGrbki0nbvD1JWqHVANbbdNyRKdq24gSB8iNWyG29T8T5s5jDapK04Z1fU+v5si 26NPUbVxtwv4Uk4acFtiOx3PaXhlLX8= =fH8u -----END PGP SIGNATURE----- --=-=-=--