From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0EJ8Atg/b2ePNAEAqHPOHw:P1 (envelope-from ) for ; Sat, 28 Dec 2024 00:01:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0EJ8Atg/b2ePNAEAqHPOHw (envelope-from ) for ; Sat, 28 Dec 2024 01:01:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Lk5H6zos; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lwAlkH0Y; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735344087; 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=Ezl48l5j5k+UTOeG9S0zqCEIS031B5W7eqMeRqFEAVg=; b=fjN8tDgCdbB6ogzcCrxteKNPmFbE7veAmPi6+JKqfJutkEakrTsYh0QBH12GM5hdfLrTZ9 E21k30UrUdXf+5TuLggcAAfg2VycdStL9smJUIWHiyC6jhGEhKTYvw0+8qVlvqGYs9Eo+V dHqzATP+rcLY8a0JzekdsB6ZV6gLpH+039J6ahu4CJt6+pJwVnN2tpMBiqwZ43pC8vLQME f0sR9y3/pRLEJBcsVTzK3TCW/IuTn25y1JEKDcynMDdeZCIKDZKupVg3bwEpvHqqk95O9n RhSe5gm3c4o2NsDyuXyFDEjwiKwhWXED+03DH/eY+roru5FCDcNQReCipy4n+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Lk5H6zos; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lwAlkH0Y; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735344087; a=rsa-sha256; cv=none; b=k6Ae7dfOoHbi409irJqwbUDvnWzD6cP6OuHGf6w451sC/f18jTRgMN6qoOEKCzSm/ZcacY xF+zy1Uu5BRDiyEI1rASYwcxepD1hOcFTWZ75Xo+sODlHSRIcWI8PIM0lqtEt58zsKJ9/D 9mh8UEU4XoVdNoj+xfWsd66zMGZRO9rXc7YqGjDAM1R4kistG3FPeAppds45Y8MtgcaiFN EyJyVtwN+nUFAX098ONrWgy7E/GWEdOLUaU4eiu3XQEe6sO0V8s7UpmzjHl/EPGo+1iBvy +PzI3I5aBPAG+nU3eB3HxxwJLbf/xLQNe220070mCEPX4jSgCnvEaSg8PUmfBg== 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 8EE921A86F for ; Sat, 28 Dec 2024 01:01:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRKGQ-0005Ck-8k; Fri, 27 Dec 2024 19:01:06 -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 1tRKGO-0005BY-Gw for guix-patches@gnu.org; Fri, 27 Dec 2024 19:01:04 -0500 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 1tRKGN-0004Jw-6h for guix-patches@gnu.org; Fri, 27 Dec 2024 19:01:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=Ezl48l5j5k+UTOeG9S0zqCEIS031B5W7eqMeRqFEAVg=; b=Lk5H6zosKuKJFCdFRn6/JkQTF6nea9dOrhNaJGuC+zPmgskC1Ra6O04aME2cHGUHxsXAUKXgIvcve1CaCprc+JVfcSYJSbUqijRNVyaliZ5j6x2vTCkOZRDCswrfm6c4Uxbfw8ivivZQpUBrAqFczKW+0RW+xWmqtRSH2Z3oXJAUtpG/tmqhMdJsNQ83aWg2mcuo4VnpcrAd9SZwO1ZEAKy3Dz2V/5dADQi/j7gSjWjm7wcaBaI/5iGfQPKM4xLv3P0bJN8ItsOIgGOL4VvKNi9/vf9K0+eeZ3FgnD3zPhAjIOADL4XTqLpIklmvgzTvRfZp9EtYFBnue+g68Vyo3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRKGL-0008BM-Pl for guix-patches@gnu.org; Fri, 27 Dec 2024 19:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74900] Resent-From: Daniel Khodabakhsh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Dec 2024 00:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74900 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74900@debbugs.gnu.org Received: via spool by 74900-submit@debbugs.gnu.org id=B74900.173534400630983 (code B ref 74900); Sat, 28 Dec 2024 00:01:01 +0000 Received: (at 74900) by debbugs.gnu.org; 28 Dec 2024 00:00:06 +0000 Received: from localhost ([127.0.0.1]:48023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRKFR-00083T-L2 for submit@debbugs.gnu.org; Fri, 27 Dec 2024 19:00:06 -0500 Received: from mail-vs1-f46.google.com ([209.85.217.46]:49169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRKFP-000823-CY for 74900@debbugs.gnu.org; Fri, 27 Dec 2024 19:00:04 -0500 Received: by mail-vs1-f46.google.com with SMTP id ada2fe7eead31-4afdfd3124dso2040680137.2 for <74900@debbugs.gnu.org>; Fri, 27 Dec 2024 16:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735343942; x=1735948742; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Ezl48l5j5k+UTOeG9S0zqCEIS031B5W7eqMeRqFEAVg=; b=lwAlkH0Y3AM4LoNZnbg5wRs6C0iCJklCCg0D10DlRgQ3OaVNCBeN0RPpieIh/IKW9U qQs8ovnJYcnLlLBukj8MYDb0OGVBll0Vz5pn5/U03b8FGxuTKChzHFiBnn5cro8O/1bj 3RpUrXMeSXAC5GVKwbMTOb46jwnw/5aEd4mMiLJRZmRyEIotYjsy2fMBYlbVLRx+Z59j LmpQgFOZqYcX+hp2eU1tuCKYI+DHeq1iBLG3TTSxCUXEcklo2IL6HTRg0V+8mFy13Mog OctKb9l+xzJE6TU1+7dobtVYhhctbt2SBTrR13wtfhc+4rrFy5aVx28SHr2S86WTYsqs zW4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735343942; x=1735948742; h=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=Ezl48l5j5k+UTOeG9S0zqCEIS031B5W7eqMeRqFEAVg=; b=YefJA6N5JTZi3AaL21ORVFLhESiOx8zHEGV2GQfwhIR34k2WjV8GZbNBcYsAl8/Nrh 8za3wGLcxhwtMpsoKal9WJjkokS3yafQ1Zmq7ntNtKoyF1n1qauq8vPq446mZ//V23xh OJ3v8vXp39dAj5n+m6lpnJEy1Oadp55ZwGqsOxS5KMZCJa+IiUwC7n2CDm71sti0etEB he9JUsQoJODmiTumC22ZHxhLwgGOhgDoCOsT73JeEV1YY/J9DFHQKZwlEOou7SzeEcxA Jty8Qe2AS/aeGfQLVvnVcZD2nBKW9rJ0I4rGF70RY5YtSI96Dkc7Cat2CBdCQcUDZvq4 0VFg== X-Gm-Message-State: AOJu0Yxg5d6x+F9bSNyKE+MN4XbAzxCaLlHD7kIYvOz5IO8ARI+Ryfa0 +CqFzcWYYpAbWi5aWt9fABiIE01ECPhP9SDkvCKzc06LyKfqn4Y6BmzjgwZr/LiyRUwdqoFaT7Z OpQFYLHy+9ELo0AQBbUi/BsNTAltTGFg8 X-Gm-Gg: ASbGncvIeHnxRdmFwujVhwoqo+LLUyIe0J3LfIeQyvKlTZatHxSJUBtYeQ7qryIDrkT rCnVKLHqIBk/8jDbxrjlaKVnyQu3ZcpndiIIbGZGy X-Google-Smtp-Source: AGHT+IFV0bs+Zs3YSZktTm5aYF/64NJll5iWsiKTp/JX4dcFyKXrosz9DlifU5Q49WBjnmo00sMCldIauGi1HfyAL7M= X-Received: by 2002:a05:6102:3751:b0:4b2:c391:7d10 with SMTP id ada2fe7eead31-4b2cc31e2damr25848548137.3.1735343942369; Fri, 27 Dec 2024 15:59:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Khodabakhsh Date: Fri, 27 Dec 2024 23:58:50 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.36 X-Spam-Score: -1.36 X-Migadu-Queue-Id: 8EE921A86F X-TUID: ZNs9GdRWc+2b The rationale of this patch are the following reasons: 1. Since (json) is a dependency of guix, there's no need to roll out own (guix build json) which does the same thing. 2. (guix build json)'s write-json escapes forward slashes in strings for some reason ("/" become "\/") 3. (guix build json)'s read-json produces an awkward to use structure similar to an association list but with '@' to indicate an object, and arrays are just lists. (json)'s json->scm produces a regular guile association list for objects and uses #(...) for lists. Overall this difference leads to easier to read and maintain code as can be seen in the patch. No longer need to match '@' for example, we can use the regular association list procedures directly.