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 ms0.migadu.com with LMTPS id +PwKN/7P0mGQqwAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 11:29:18 +0100 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 oOG3L/7P0mHLDgEAG6o9tA (envelope-from ) for ; Mon, 03 Jan 2022 11:29:18 +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 7CB0B2373B for ; Mon, 3 Jan 2022 11:29:18 +0100 (CET) Received: from localhost ([::1]:45138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4Kab-0007oa-JS for larch@yhetil.org; Mon, 03 Jan 2022 05:29:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4KaM-0007oJ-LO for bug-guix@gnu.org; Mon, 03 Jan 2022 05:29:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4KaM-0003kc-CQ for bug-guix@gnu.org; Mon, 03 Jan 2022 05:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4KaM-0004MK-6c for bug-guix@gnu.org; Mon, 03 Jan 2022 05:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52749: G-expressions don't consistently preserve #nil Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jan 2022 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52749 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Philip McGrath , 52749@debbugs.gnu.org Received: via spool by 52749-submit@debbugs.gnu.org id=B52749.164120572216725 (code B ref 52749); Mon, 03 Jan 2022 10:29:02 +0000 Received: (at 52749) by debbugs.gnu.org; 3 Jan 2022 10:28:42 +0000 Received: from localhost ([127.0.0.1]:34207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Ka2-0004Lh-0l for submit@debbugs.gnu.org; Mon, 03 Jan 2022 05:28:42 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:34134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4KZx-0004LV-11 for 52749@debbugs.gnu.org; Mon, 03 Jan 2022 05:28:40 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id eAUa2600Y4UW6Th01AUbXe; Mon, 03 Jan 2022 11:28:35 +0100 Message-ID: From: Maxime Devos Date: Mon, 03 Jan 2022 10:28:34 +0000 In-Reply-To: References: <23d2ac1d-737d-787c-5535-c816566461dd@philipmcgrath.com> <6211bc6e48fa8f5dcf8711bba186812f3a5e52c4.camel@telenet.be> <637bb8909bd524ce239d66cc73d1e5ad43ce2ea9.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-KZuPTYXmnUJX4q6rIC6R" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1641205715; bh=A9vVdpn2puG2qDDMxZE/Rge/GfhH4cTTT6wQcyHzKSQ=; h=Subject:From:To:Date:In-Reply-To:References; b=ZIqgpr2FZBrSXp5Dbih/E0NrWkLDhdfjVjI1vDAS3xaPY1RpBzuDTBjsBMN4eJP7/ +gZEIaShGtXau/XkydutUZFOi0CW+IgrZ4GN7f2tknQdlbRxRKsaBuqv57oCvGYNID Vf30kt3WI1oo8tinX+sFyjz/u6INMBGdklE8kRHClleOeu7224r1RnSDY0fvYu8uS+ 0hc9QcT777QF/eJSLFxowfvtACJ+84gCr3Bzfvz6n7fazFbvkfTkTudOA+Sx4fqiej xgRsXVaL7VxvvHr1NAbOZqJrOHJD/qtmhN2o3jlJNQTmM+Y5duhEDSOQLa0bYOgsYU IjfbqTraAUU0A== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1641205758; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=A9vVdpn2puG2qDDMxZE/Rge/GfhH4cTTT6wQcyHzKSQ=; b=uQRrRgdDPRGIeTNtvYW05Z4+FNtmMBYc8438mkVR5EQzMjSDYsNTx1+kOKzCiC6KUIjwN5 qvLedv0GNfSwoJhTBOMy5uy73bDdPq5HtUabWr936DHKN6oyREPFBZHnucThM5XlvhiIE2 YSLMAIot9PMF679Grwh6SBeY6phC3MAR0pGLeYR4BNzAygY00Wg5dHVHoT46g0Cx9OltTg 9LQg/ICJrh9sGjxoIZAesiUTXwhf8OFTNCburuimr26YC5Gm4Ao/G4bJw0OldJXmRKTCUi yt+6gGaeJEepwZlypckXQVVY1wDuAvWLqejJV581O81rOZL5IhOzPTRoc2zUFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641205758; a=rsa-sha256; cv=none; b=F/VuzBkZc661lS66d3gW4TB/STdVOBvZ6WuWWx++HhlZ3DKA4400e5HAE+sxJmV87VMc+/ XAfu+/heq3DEQVT8yMq8CGcUl/7K4vSCpAwAfaEM2FTWQWgDbfSnPyAUZbYE5yDrS9BRff rgx4in0JGc420+re7B2FYs5OFzDq9BjTcHnJAMw5YZRhRpqkJRtvysDsgdBDmy9Z6HIxPl GyZdf4G1Pu3lGeTR+5t0997V35WJsIwHmpRak03zNL371uS99Wbc1h675wXoKw6aSPT3yp vV+SuGOnkgQ63xRtdBvmzeF3/UvGIsD3/D/Z19usyjQvbqoDG9GneXaTr8dRDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ZIqgpr2F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ZIqgpr2F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7CB0B2373B X-Spam-Score: -5.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZIu9ePS6F/WB --=-KZuPTYXmnUJX4q6rIC6R Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Philip McGrath schreef op ma 27-12-2021 om 13:38 [-0500]: > I think the behavior of `gexp->approximate-sexp` is at least defensible,= =20 > since its documentation (`info guix "gexp->approximate-sexp"`) warns=20 > that "some information can be lost". But no information is lost in this case? $ guix repl > (use-modules (guix gexp)) > (gexp->approximate-sexp #~(a . #nil)) $1 =3D (a) ; sure, the #nil isn't printed ... > (cdr $1) $2 =3D () ; ... also not printed ... > (values (eq? (cdr $1) #nil) (eq? (cdr $1) '())) $3 =3D #t ; but it's still there! $4 =3D #f Greetings, Maxime --=-KZuPTYXmnUJX4q6rIC6R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYdLP0hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7no9AP9qmkinnkmbOY2aj5/hH3V1uG6K cXbOpPbisV4iGr/xmAD8DIxuo4v6ZNaNOspeqtVxUH6M8wmPxu+fiEcAOO6t3gI= =B0iV -----END PGP SIGNATURE----- --=-KZuPTYXmnUJX4q6rIC6R--