From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sGB7FHMtyWO5DAEAbAwnHQ (envelope-from ) for ; Thu, 19 Jan 2023 12:45:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sNyQFHMtyWPSIQEA9RJhRA (envelope-from ) for ; Thu, 19 Jan 2023 12:45:55 +0100 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 CDB4E2A704 for ; Thu, 19 Jan 2023 12:45:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pITM7-0007Kp-P3; Thu, 19 Jan 2023 06:45:20 -0500 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 1pITLz-0007KR-SS for guix-devel@gnu.org; Thu, 19 Jan 2023 06:45:12 -0500 Received: from m12.mail.163.com ([220.181.12.215]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pITLv-0006kj-Ms for guix-devel@gnu.org; Thu, 19 Jan 2023 06:45:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=WabyEcIdMKPmkQq3yXdeV2auY8jyIMINS1oYZTKSVLQ=; b=P5Ye5dkbZ8zL+PCO4sVqSAOxBOitaCZdnAkxNIhx5QIM5Wvbd8SMwamSUp7+ro G04C2Y3N3cO9HpJ2u3MiPhABmUaN1W1W36pOb/oUVcrEboS51upoEyL9+WvacEOp f7jiPoj1xnj9YJO1SMEQNeVGP5fNmO7oZL9sGQAYs80Us= Received: from Guix (unknown [49.88.145.154]) by zwqz-smtp-mta-g2-4 (Coremail) with SMTP id _____wBHTCwxLcljmse8Aw--.3237S2; Thu, 19 Jan 2023 19:44:50 +0800 (CST) From: Feng Shu To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org Subject: Re: #:configure-flags flags #~'() or #:configure-flags flags #~() In-Reply-To: (Tobias Geerinckx-Rice's message of "Thu, 19 Jan 2023 09:27:08 +0000") References: <87zgafum69.fsf@163.com> Date: Thu, 19 Jan 2023 19:44:49 +0800 Message-ID: <87pmbahhou.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: _____wBHTCwxLcljmse8Aw--.3237S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RqD7aUUUUU X-Originating-IP: [49.88.145.154] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbBERr71FaEMam5aAAAs- Received-SPF: pass client-ip=220.181.12.215; envelope-from=tumashu@163.com; helo=m12.mail.163.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, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674128754; 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=WabyEcIdMKPmkQq3yXdeV2auY8jyIMINS1oYZTKSVLQ=; b=Uujf4mxzufOyT1TpU6oAjDJDOkw+VsDJCHVDv5/bfibAHYcUbOItSJZrpfKhK3KN0FDYGv S1gF9dUOOidtxJmEMoCzS62voW7wGMZ+tCNPgyQLEeA3VHOTlQn7XQiU196bj7SL1JtTWA xzYDdqZ4ISLg9jVw73IxA07iHPDpRAWZBU3IRG4n4SnGZB6YrG8Bl4qRez1seL8ofmPsUc RVNQZgDWbdg1dfIttDOROw7fgECsOes8Vxrgj74XJJIIZ3MkeotPDrdrvuwVRt0+2fOp2n 6TZZDQbGtzZJcn50BTpdKhCDBS0FgWJ8M1YeV3CtIfb2xA1VpIBFRyViiWQ3tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=P5Ye5dkb; dmarc=pass (policy=none) header.from=163.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-Seal: i=1; s=key1; d=yhetil.org; t=1674128754; a=rsa-sha256; cv=none; b=BMlLFNnZEHxSDsjB+wInbcNNbCs/8StV987W7x8H4q5oj950/fDRZoJ2AI+SI8lB92fsCT LaFmI5OYPDb3/14A5Uwey9T1nI8QItZ9gsqIimBr8J/fMo9WrWHQF96uoEu1ykg25xcksA 79WDGhajzPVZA5zrviVKKhAZW2zAT6+u1WiGUj7sU0eM4GTphncCn4hUXKni+gl08eQZVO 3rPDvE2MxFOO7XC2JUaWhXBJ0JYrTHYUvYrdz1r63qN4U4sh0FOwIxzvSGM51BZFSP1A0g wcJivyAMhjGTp2xJZayzdcvfCQFtkVXbIPUsKAjGFzEjAxRyxOxoWQlD+ncs2g== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.12 X-Spam-Score: -6.12 X-Migadu-Queue-Id: CDB4E2A704 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=P5Ye5dkb; dmarc=pass (policy=none) header.from=163.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-TUID: wT5d9+sUYCT0 Tobias Geerinckx-Rice writes: > Hi! > > It's not about 'right' (why would grepping Guix return wrong code...? Impossible! :-). It's a matter partly of preference and partly of using the best tool for the job. > > Omitted from your second example is a call to list, and the #~ that both have in common is just syntactic sugar for (gexp ...). :-), I just want to know, in below code: we should code #~'() or #~() after flags. (substitute-keyword-arguments (package-arguments ...) ((#:configure-flags flags #~'()) ^^^^^ ...))