From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wJmiDVToJmQ3bQAASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 16:04:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2BmTDFToJmQxRgAAG6o9tA (envelope-from ) for ; Fri, 31 Mar 2023 16:04:04 +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 EEDC721737 for ; Fri, 31 Mar 2023 16:04:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piFLg-00055W-8b; Fri, 31 Mar 2023 10:03:25 -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 1piFLM-00052I-1P for guix-devel@gnu.org; Fri, 31 Mar 2023 10:03:05 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piFLK-0008B7-0a for guix-devel@gnu.org; Fri, 31 Mar 2023 10:03:03 -0400 Received: by mail-qt1-x831.google.com with SMTP id a5so21742366qto.6 for ; Fri, 31 Mar 2023 07:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680271380; x=1682863380; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=OpruHMj8gwzkeNHBiAu2NvVON2FtfRTsSapOabrh7+E=; b=TfpkDRCOFrBOllDFxcGLmAPmYRaSyy6F2F8CSQRn5GFEnFBgNe9ylS01Vd+y7cHk/H 0MdUlpRu6H2Myf0Qyljft2pn2GtM5s+REK6rQKe7jRWovuIButOg8sG6bU0p8b2pDJLv km1z0xtrg/MJPbXM1t7ecKqoszr5qk48Jlbwy1JLr5ixQpPLnr2jGVOLDYIvfYe8Zoa4 5LAHOX25LbKIoOBp1mWODAZA8QueT/HCWocPpjU1Wmwdl9UTeIsAH5H1LRWhUwgglh/Z zqssXTGGD/so0Z1OdPtuOvxC1bCInHChaKGOPWJVQ2gxkKw3py6KPOJDZIwKWrXWC+CD p4FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680271380; x=1682863380; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OpruHMj8gwzkeNHBiAu2NvVON2FtfRTsSapOabrh7+E=; b=Tz61p8OFm9NjmAOAIbZh9yaaZDfiSXk3wH1N3w6Yc83R9GXquazYysb3sLfWu/NB2s NTVMbd04m1Bfl9vPN2eOXXFmocJVurKuhjjeIsQ+Rh9Fo/u3GjKRsAZOgjmT8Wnr8RTS ESIsfdJ98YC48hjx+39sgID+NoMDnozO6/LSL0py6bxUElTHDZ/yrVaNj47CLmhwdVjE ybyldqJ+PmtjU4W1at1zemID9e0mO+xSdtxlndenS0lZ0pcnJwseo1zM8Lvz2mjYmbV+ yffswO04U7pTC7QjB5mbNpNYB2vYbFwp2SNxpQnmMxyKk/sJ/WrkX+2v65M3hltpAan9 4J2w== X-Gm-Message-State: AO0yUKXDF6+mIJTFJ9BVsRG3u9kXYzBs6eFzIEPKdRovW38SUpF6lRkt hmOdIIfa8l0MT+IcS+0GOHq/tKi0TR0aDw== X-Google-Smtp-Source: AKy350ayK+rdzrxK7/xSbHDChC7rUlZozdDi4LxGfnXfJiH7lZsw0ejtcn5MjI1xhwwe3vCm5v+71w== X-Received: by 2002:ac8:5902:0:b0:3bf:e2ff:4c2f with SMTP id 2-20020ac85902000000b003bfe2ff4c2fmr43682005qty.51.1680271380498; Fri, 31 Mar 2023 07:03:00 -0700 (PDT) Received: from hurd (dsl-10-149-138.b2b2c.ca. [72.10.149.138]) by smtp.gmail.com with ESMTPSA id d14-20020ac8668e000000b003e39106bdb2sm640437qtp.31.2023.03.31.07.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 07:03:00 -0700 (PDT) From: Maxim Cournoyer To: Josselin Poiret Cc: Andreas Enge , guix-devel@gnu.org Subject: Re: Syntax and gexp for ff5f34ae757d709987896d6164bf125319a0f764 References: <87wn2xy8hz.fsf@gmail.com> <87cz4ps5hr.fsf@jpoiret.xyz> Date: Fri, 31 Mar 2023 10:02:58 -0400 In-Reply-To: <87cz4ps5hr.fsf@jpoiret.xyz> (Josselin Poiret's message of "Fri, 31 Mar 2023 10:13:36 +0200") Message-ID: <87tty1vx0t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x831.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=1680271444; a=rsa-sha256; cv=none; b=gjBVcO48u3R+ja7OQOOIsvAJOiv5oUSTSg8l98G7fJNT+YN/LO7ofP44x/hFzUIMwdSi/i 4sPBDESHF7tKMtttRLuY8xFJ07XT6HtfynrmOzy1FPhQYmaKORol85rS4S0tQiLZkpKlp9 Npr3QhlhOAXpWEEW7EGs939pbDr9qnpAg73/DUI477NQKdHEysIZKkf9zzxrZcmCJZvSMj LC/rUQI20+U6LUJvdJmOMq84ShA9gue1Dlb4SywSeMd7lRGhnGlEjbDvzXOKuaE1//qL6y LictbeZxnsaXi92rXH4J6L+rMuS343RTv1rLXgowlvRQIWYoCDpSBfhT/A+bqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TfpkDRCO; dmarc=pass (policy=none) header.from=gmail.com; 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=1680271444; 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=OpruHMj8gwzkeNHBiAu2NvVON2FtfRTsSapOabrh7+E=; b=lQ4NIgHm/wk+IG/ULrL7kNiktR6l/3mbnqDl+fU6d5aTc5A7V1BMsngrUh9lZ1XPnycb/D GCTfXhG8Z12mdOkVLXZxWBQxxeztjYH1DqUPDA7j7HctvoYjbbgg1U/QIixPCkgzy9iM7g Xfkx7hA/s9r0IPZSQGKrWj+tMXv0pUGeBeag0gzCVIbU6kY8+j1wMw0AnckUrF7oSe2vqx T18BKyR8akFuHyfpiF8j6VqnqZiNT44ppGWNVYRpr1BkzyBUSLndjja7yeRT3ceKJQ/U/H Um3EIVZqh81ycJRuEt9xoOoyKrbVrVfd43h0tQTjOcHKwX/7KyVFTppJdKiUDg== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TfpkDRCO; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.96 X-Spam-Score: -9.96 X-Migadu-Queue-Id: EEDC721737 X-TUID: Dv0UHK8Q5T/a Hi Josselin, Josselin Poiret writes: > 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. I thought I had cleared all .go files, but your explanation suggests I didn't. I probably got confused in my multiple sessions on various machines :-). Thanks for the explanation. -- Thanks, Maxim