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 ms9.migadu.com with LMTPS id aD6VCt7xSmR0ZgEASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 00:06:22 +0200 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 MJx5Ct7xSmQucgAA9RJhRA (envelope-from ) for ; Fri, 28 Apr 2023 00:06:22 +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 033F469F for ; Fri, 28 Apr 2023 00:06:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps9kg-00051J-JE; Thu, 27 Apr 2023 18:06:10 -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 1ps9kb-00050x-5E for guix-patches@gnu.org; Thu, 27 Apr 2023 18:06:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ps9kY-00071z-Gb for guix-patches@gnu.org; Thu, 27 Apr 2023 18:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ps9kX-0000gk-W6 for guix-patches@gnu.org; Thu, 27 Apr 2023 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63135] [PATCH 0/3] MATCH-RECROD improvements Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Apr 2023 22:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63135 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63135@debbugs.gnu.org Cc: "\(" , Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16826331162582 (code B ref -1); Thu, 27 Apr 2023 22:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2023 22:05:16 +0000 Received: from localhost ([127.0.0.1]:59965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps9jo-0000fa-5L for submit@debbugs.gnu.org; Thu, 27 Apr 2023 18:05:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:43472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps9jj-0000fO-GL for submit@debbugs.gnu.org; Thu, 27 Apr 2023 18:05:14 -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 1ps9jj-0004y4-8f for guix-patches@gnu.org; Thu, 27 Apr 2023 18:05:11 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps9jf-0006wZ-Nx for guix-patches@gnu.org; Thu, 27 Apr 2023 18:05:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EE92440303; Fri, 28 Apr 2023 00:05:03 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zWs4bkZUHxJc; Fri, 28 Apr 2023 00:05:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1682633102; bh=eHd5bua0xa0E0ekYgEN2ZXU4shzb2CGBu2998xIQ2IE=; h=From:To:Cc:Subject:Date; b=kqy7MIA64H4ewjtlyAJjDSU5Me0gH92bF/SzZtMqYxQwOPsOeQQlfL2KbgzADJWqH p3eE4TmwicvKhepgz3A8vb69lQ1Hq//6rfbGMXrknTpzHv/ldNSJ169LbVmOjDl+dz WEwzSBOgzK26LR4zfzYTIExt/Htm8k4BFvdXMJzkf3A9lskLZabB5o7jqleSU0hwlm 2okn0LwKMIC0ZJpgSWgW6bw9QuTiCDUVPW9ZoPYo+JBOonte4KkTHwfhDCARC6R0rl cvQyK0dh7ctJMwW9bxN8Wjgl75z0UWYOujc1ohQ89cHQjZASaZp/S8Ya6shsdYhwbU j0waBoPq9hQUA== Date: Thu, 27 Apr 2023 23:04:49 +0100 Message-Id: <20230427220452.4972-1-paren@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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_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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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=1682633182; a=rsa-sha256; cv=none; b=CGiD05DTBvqaVXxTcE+5Pd4sqA2Y2g0Ik0B4BIzxrz2+K2dRNjk0YGBBozabSD+IJAF1XN FyhjWh8vw6L/EIau82BCFAukaMr0XhlRtUWwJ0CoXekCWUnxPjt8PHFlDpnEa7oYEXMoZ4 IHKd2wgLpBGq7KWdossKOgPEhngVh2dP0xhyxSqFuVDFd6RygCk4of7OVMnGCkHQscf+aL eutqOQCjkXsFOhXC8wvvCn85+1V9RermNeO5bfLDRyHuPN9mipau9CEetFEzQeopyHkChj UnCqMJC0CnylaYDox66eM0nKpkIrd0VaP3Ift33LB6FNon/o9PqMv/Dq8+0Cpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kqy7MIA6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682633182; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=G4giFX3sa0mjB9Sn/KQE7PljH9a2Vhkc08RqbhdWD5M=; b=L0k3bzENMUUsSDBF8ZXc4c4wYWD2slq2tl1LfQGFbJVhVBwNd1Qpw2ICzD63MO0rqZLES3 EcEmV0oEuRa9DppvLfBamvNzEITVwgjf/PoOaLMg3Uo/+izG+AVab1c1UlAtFL+2EoX7nN QBOnJ0EJeXZao9KUryNWx0cIFfFQ/84cA9OKfaZRBHXJO6QLWN/ovaC6hb8fTEojPlxlH6 wnZ2zpaSgyE6ZG+1vUeMvmifMByAowiZWPR3AWG/0loasztQAdd9lp2EUkQlADG3qCdHyI oMN13r9N2cZ0RSrXAlHh4MQseV1oVJVV469ZWzsFkwBdpr1Os7XWZlf6Sa/EwA== X-Migadu-Spam-Score: -0.81 X-Spam-Score: -0.81 X-Migadu-Queue-Id: 033F469F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kqy7MIA6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: fqiZQdsLreMG Hello Guix, Here are three patches pertaining to MATCH-RECORD; the first mostly by Josselin Poiret, with modifications, and the latter two by me. The former two improve MATCH-RECORD's error reporting, and the last removes a TODO by adding support in MATCH-RECORD for unpacking the values of fields marked THUNKED and DELAYED! -- ( ( (3): records: match-record: Raise a syntax error if TYPE is nonexistent. records: match-record: Display more helpful field-not-found error. records: match-record: Support thunked and delayed fields. guix/records.scm | 95 ++++++++++++++++++++++++++++++----------------- tests/records.scm | 29 +++++++++++++++ 2 files changed, 89 insertions(+), 35 deletions(-) -- 2.39.2