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 JWX9GAPDdGQ4xwAASxT56A (envelope-from ) for ; Mon, 29 May 2023 17:21:39 +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 2FNxFwPDdGQPMgAAG6o9tA (envelope-from ) for ; Mon, 29 May 2023 17:21:39 +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 334E62E4A0 for ; Mon, 29 May 2023 17:21:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3egP-0001n4-Vn; Mon, 29 May 2023 11:21:21 -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 1q33O7-0000Kl-Nd for help-guix@gnu.org; Sat, 27 May 2023 19:31:55 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q33O6-00013g-74 for help-guix@gnu.org; Sat, 27 May 2023 19:31:55 -0400 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-3f767eec104so19655421cf.1 for ; Sat, 27 May 2023 16:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685230312; x=1687822312; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=q4A5bzjl1MRgR5aBLRoJcs054KddOVQ3KIduuBBKIH4=; b=pnkw7ZvY/jWVyfM2jOMX8ng89EyQLP0Q+u4Ghuqw0Tk3lRgTkV5SQf8Eski74aIH0T 1cm9wvGzrzv+VrMABx/AS6Uygfk53cCiFdXQBrAT3LPj5BnWDFmV6f/wlG5+R4vdv/KY BmD8ZbLKFppuCL4dioMF8qqL12Sc4s3Iovop3S77pCuR54mTXcFEqXa1EAIsB9cH80Y8 T40Goar1gVJy2watRN+wN9A7LStvtpUswS9ST5BWglUAsq7TXvaa8sjEO/Cjr9b0/kjz aw5EX4Z6qF8LPXQExwr+T0+8bdlIMKYlJ/IdquXFyuhLzQSibRbYfd6AhY9xNxI6heaZ hHNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685230312; x=1687822312; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=q4A5bzjl1MRgR5aBLRoJcs054KddOVQ3KIduuBBKIH4=; b=hhuft/ZPdAcu/R9ZqR+CAI17FkZx6I/v0kH65Pj/Q/Y5G0BpkHuIMdi7T8udCc9iB/ B1Z3+oIy/VwsQy9QEH2RIMJLRVTrL/yZjASTxrD3XFzfAK6VZOV7ZJUfPpkDqPk69CWV /8OqgHetEaJb1ruN4/vqD4OrUNtV3p6X4wi4+p7XEsjLH4wBmRma0D6xRA7Rjr1wah+B /UDv9WA9MGCGVZNm0QBcHdI4Nn9qxc/T59iv4OuFXfisASp0+lh5tZkusddtYCVrZE1b mVLUYb7WG4MtjBvNQQ152F7hRL3yW8eO/JEEqixCfFupi14v62SqShVLK/vqrbxwKQW3 nH8A== X-Gm-Message-State: AC+VfDzBHnuZvpVP221gCwRILXPK6fhH2wnINkaw4KyPQSbNjuvq8c62 oceK3iBLBDy5UtiGeLExyd+yfBF+0lsALgLpFaZef6TI X-Google-Smtp-Source: ACHHUZ5fSyWeapBwU63ylJvsDGWEdfcuKM6DyjlnIbCo30+b8+jxVVrpXxIR0hnyMFoxOGQ/Ap8y1p2+mIU7va7HgEs= X-Received: by 2002:ac8:5c43:0:b0:3f3:8720:4f8c with SMTP id j3-20020ac85c43000000b003f387204f8cmr7807306qtj.18.1685230312485; Sat, 27 May 2023 16:31:52 -0700 (PDT) MIME-Version: 1.0 References: <87ilcex5ra.fsf@elephly.net> In-Reply-To: <87ilcex5ra.fsf@elephly.net> From: "N. Y." Date: Sat, 27 May 2023 23:31:16 +0000 Message-ID: Subject: Re: Meaning of symbol prefixed with "#$" To: Ricardo Wurmus Cc: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=ningyuan.sg@gmail.com; helo=mail-qt1-x829.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 29 May 2023 11:21:10 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-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=1685373699; a=rsa-sha256; cv=none; b=CTAqqqm8EdgWVcHp+v1MlisJdNzCLWRp2FM9Xh89GUAeDh3bsy98g6O3z6aPodbi1mtAMd EAp6VBqIDkKq4aOndwakeyYZECk1KIkDYJZ04NmwKnYIbbpW+PGH3leV9VWWsFzcpIQSo1 THvieTBk5J4L7RicFz7pwAetfbZismjbK602p5AMU9McV8rblrh083UIZsbLomPhuMMtQc bgsQlVr85/u9F0xA/6Bya3roab2AjwWH7YxV2VTFxEaHDpV6HTJQrGVt98KpRL5SpvHXxZ m908DRsWQUjxxLkScb2OkwmBV0QSuKWb1pHJ6dnw3whQpHRLMBgJ/NTOMvj1pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=pnkw7ZvY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685373699; 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:dkim-signature; bh=vnwdO7dK3Du7MS8fozrxKxBiMkuoe8/WTSlCQpr3X0s=; b=l98c5lRWeH+xMJw2+fPa63MNFbgGpZBvc55FhJ2/lwE4Mc8vDHIorD0Tn+yAi6ud9l55Cd cwrmQ3WnaFOJE9zh96APcW8Bcqh35bqD955uY9LSLwcFLBmBRZRZz0g23sNOyCmuCy33nG GgUdTURwNqbaJQDNp2/hiTGOV5Mn1vtME53ZIh9WwQSGEuacTEVi/ZEbCoS/3TOwh8C9b5 EGKBAhBH53hspOXgd9ovFyEugtGI4Br6IKb2X1Fvqv2YJJBR6d3hCUCU66z+S5cVUqcBRP /0eiZf2Ota0TeHKSt4utZAo/bZ1z/G46FkfX6AGfx6dJwlI7MgTO1vH+SK/FzA== X-Migadu-Spam-Score: 1.19 X-Spam-Score: 1.19 X-Migadu-Queue-Id: 334E62E4A0 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=pnkw7ZvY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: CdZWq1l8vHL3 Thanks so much for your suggestion! Can I ask for a name for these notations, #~ and #$? I would like to learn more about them, but they are difficult to Google for. On Fri, May 26, 2023 at 7:17=E2=80=AFPM Ricardo Wurmus = wrote: > > (Moving this to help-guix instead of guile-user.) > > "N. Y." writes: > > > (arguments > > '(#:phases (modify-phases %standard-phases > > (add-after 'unpack 'amend-version > > (lambda _ > > (substitute* "setup.py" > > (("versioneer.get_version\\(\\)") > > (string-append "\"" #$version "\""))))) > > You can only use #$ inside an expression starting with #~. This should > work: > > --8<---------------cut here---------------start------------->8--- > (arguments > (list > #:phases > #~(modify-phases %standard-phases > (add-after 'unpack 'amend-version > (lambda _ > (substitute* "setup.py" > (("versioneer.get_version\\(\\)") > (string-append "\"" #$version "\"")))))))) > --8<---------------cut here---------------end--------------->8--- > > -- > Ricardo >