From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qLx2EC5SIGWIzAAAauVa8A:P1 (envelope-from ) for ; Fri, 06 Oct 2023 20:30:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qLx2EC5SIGWIzAAAauVa8A (envelope-from ) for ; Fri, 06 Oct 2023 20:30:06 +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 F023761800 for ; Fri, 6 Oct 2023 20:30:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1696617006; 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: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; bh=PajppkcpupkfvhqLGDX+uoWXZOApWHIsv76WlLDt0dE=; b=MgsFhsvV6we1v0hSgmHV/FBnjwZ3RRxRzQYjILFqkdq/shXRbm4Gs+crFjA2ea3igWWJIv QNcAMyxSQxahH6ZgSRcNvuOgqAMtEYZVQpavh7xzeiJxpl6G2ifgvnQMFaGhsXOIO0gyG8 RndYsBFRGZzRgg2OETBJWFQlVqIDBLKgbmcdBshiruN/+Q1/+Uhym8A5hiBdl0QRwFDrNp jae42hhPd5RWvjw3sI8HmP/wTgH2GMOctotHjvvBwyfeveKz+YlaM0TOePqrAdJfw+6vRt uWsYpEXkUYvFeHCVcFdwweE1ZzevxqFEUFmoBUmHrxAy+ROwNvV5ZSlDgFBdOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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-Seal: i=1; s=key1; d=yhetil.org; t=1696617006; a=rsa-sha256; cv=none; b=uWGaKbKoXJ+gXR/msFf5p9Hbw1ReItSImhTT9qKTROj0CWSKXJMNcaj9JGjbN/TpuAvD82 DLSSmHF/WnNF167TibLgdv01/VPbzOR9xqFP72MASfODkb9+RaYK1SiIee8TZamjEuKX52 stHHvlRqTsjA+q6ii2AB3wqUgnEpHk/gnVALEj9owLU4cgWvTgxD4zALidOSrZpyBKRmte 1fsq/U2yu2nS2iHdEcmqSnWDC3VxeZhrc4rAFYjq+b1gVG8bW87U1VpdEM7DvX1sq+JiKG eG5MDMgk1F4cjeotN5AH3qNNVs5/n+/cMhrWMyrysIlEcR6U6Wi15TvlIcvjBQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qopa6-0001MS-Hw; Fri, 06 Oct 2023 14:29:46 -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 1qopa4-0001Iv-UH for guix-patches@gnu.org; Fri, 06 Oct 2023 14:29:44 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qopa3-0004Sr-59 for guix-patches@gnu.org; Fri, 06 Oct 2023 14:29:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qopaM-000296-1N for guix-patches@gnu.org; Fri, 06 Oct 2023 14:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63985] [PATCH RFC 0/5] Generic INI serializer & SRFI-171 for define-configuration Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Oct 2023 18:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63985 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 63985@debbugs.gnu.org Received: via spool by 63985-submit@debbugs.gnu.org id=B63985.16966169838199 (code B ref 63985); Fri, 06 Oct 2023 18:30:01 +0000 Received: (at 63985) by debbugs.gnu.org; 6 Oct 2023 18:29:43 +0000 Received: from localhost ([127.0.0.1]:52653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qopa2-00028A-RC for submit@debbugs.gnu.org; Fri, 06 Oct 2023 14:29:43 -0400 Received: from smtpmciv1.myservices.hosting ([185.26.107.237]:36362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qopa1-000282-FL for 63985@debbugs.gnu.org; Fri, 06 Oct 2023 14:29:42 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv1.myservices.hosting (Postfix) with ESMTP id 17D1D20E20; Fri, 6 Oct 2023 20:29:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 78D998009B; Fri, 6 Oct 2023 20:29:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ah6uv1bRHEyn; Fri, 6 Oct 2023 20:29:11 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id B7FA580099; Fri, 6 Oct 2023 20:29:11 +0200 (CEST) Content-Type: multipart/mixed; boundary="------------S6QQSiTrKbMkh0HKKhxd5wCD" Message-ID: <673081be-14c1-4864-9bd1-1cbc908823a6@makinata.eu> Date: Fri, 6 Oct 2023 19:29:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <3ff11bf98a7658400615305609654432a4f30bb0.1687816734.git.mirai@makinata.eu> <87il7o3kkv.fsf_-_@gmail.com> From: Bruno Victal In-Reply-To: <87il7o3kkv.fsf_-_@gmail.com> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F023761800 X-Migadu-Spam-Score: -5.11 X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -5.11 X-TUID: Z0tZWirkmA+Q This is a multi-part message in MIME format. --------------S6QQSiTrKbMkh0HKKhxd5wCD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Maxim, On 2023-10-02 20:12, Maxim Cournoyer wrote: > Could you offer some of your perspective as to why you preferred that > approach compared to generating multiple, tailored for use, serializers, > possibly created via a procedure? Was there a problem with doing so, or > what is less readable, etc.? Right, as already pointed out by Liliana in [1]. As for the perspective I'm afraid the reason is a rather unexciting one: I completely overlooked that it was another¹ approach that could have been done instead! (and a much simpler one at that) I'm dropping this one as well since it's clear now that there's a cleaner approach for passing these kinds of additional data. [1]: Message-ID: <6445e508cbc8a9f92d3a54263193936d168cd7cf.camel@gmail.com> Link: ¹PS: Example attached for any future readers interested in the topic. -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno. --------------S6QQSiTrKbMkh0HKKhxd5wCD Content-Type: text/x-scheme; charset=UTF-8; name="options-as-procedure-call-sample.scm" Content-Disposition: attachment; filename="options-as-procedure-call-sample.scm" Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9lbnYgLVMgZ3VpbGUgLS1uby1hdXRvLWNvbXBpbGUKISMKCih1c2UtbW9k dWxlcyAoZ251IHNlcnZpY2VzIGNvbmZpZ3VyYXRpb24pCiAgICAgICAgICAgICAoZ3VpeCBn ZXhwKQogICAgICAgICAgICAgKHNyZmkgc3JmaS02NCkpCgoKKHRlc3QtYmVnaW4gInNlcnZp Y2VzLWNvbmZpZ3VyYXRpb24iKQoKKGRlZmluZSAoZXZhbC1nZXhwIHgpCiAgIkdldCBzZXJp YWxpemVkIGNvbmZpZyBhcyBzdHJpbmcuIgogIChldmFsIChnZXhwLT5hcHByb3hpbWF0ZS1z ZXhwIHgpCiAgICAgICAgKGN1cnJlbnQtbW9kdWxlKSkpCgoodGVzdC1ncm91cCAiUGFyYW1l dHJpYyBhcmd1bWVudHMiCiAgKGRlZmluZSogKG1ha2Utc2VyaWFsaXplLXBvcnQgIzprZXkg aG9zdCkKICAgIChsYW1iZGEgKGZpZWxkIHZhbHVlKQogICAgICAoZm9ybWF0ICNmICJob3N0 PX5hLHBvcnQ9fmQiIGhvc3QgdmFsdWUpKSkKCiAgKGRlZmluZS1jb25maWd1cmF0aW9uIGt3 YXJnLWNvbmZpZwogICAgKHBvcnQKICAgICAobnVtYmVyIDgwKQogICAgICJMb3JlbSBJcHN1 bS4iCiAgICAgKHNlcmlhbGl6ZXIgKG1ha2Utc2VyaWFsaXplLXBvcnQgIzpob3N0ICJbMjAw MTpkYjg6OjFdIikpKSkKCiAgKHRlc3QtZXF1YWwgImtleXdvcmQgYXJndW1lbnQgcHJvdmlk ZWQiCiAgICAiaG9zdD1bMjAwMTpkYjg6OjFdLHBvcnQ9ODAiCiAgICAoZXZhbC1nZXhwCiAg ICAgKHNlcmlhbGl6ZS1jb25maWd1cmF0aW9uIChrd2FyZy1jb25maWcpCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGt3YXJnLWNvbmZpZy1maWVsZHMpKSkpCgoodGVzdC1lbmQp Cg== --------------S6QQSiTrKbMkh0HKKhxd5wCD--