From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4DskC/k8wmHuWwEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 21:45:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cPacBvk8wmF9aQAAbx9fmQ (envelope-from ) for ; Tue, 21 Dec 2021 20:45:45 +0000 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 C9274EAE3 for ; Tue, 21 Dec 2021 21:45:44 +0100 (CET) Received: from localhost ([::1]:38680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzm10-0002uw-P3 for larch@yhetil.org; Tue, 21 Dec 2021 15:45:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzm0P-0002uU-2R for guix-patches@gnu.org; Tue, 21 Dec 2021 15:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzm0L-0004Ej-S0 for guix-patches@gnu.org; Tue, 21 Dec 2021 15:45:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzm0L-0002eJ-Kj for guix-patches@gnu.org; Tue, 21 Dec 2021 15:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 07/45] guix: node-build-system: Add #:absent-dependencies argument. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Dec 2021 20:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath , Timothy Sample Cc: 51838@debbugs.gnu.org, Pierre Langlois , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164011948710142 (code B ref 51838); Tue, 21 Dec 2021 20:45:01 +0000 Received: (at 51838) by debbugs.gnu.org; 21 Dec 2021 20:44:47 +0000 Received: from localhost ([127.0.0.1]:55820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzm07-0002dU-Hd for submit@debbugs.gnu.org; Tue, 21 Dec 2021 15:44:47 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzm05-0002dB-IV for 51838@debbugs.gnu.org; Tue, 21 Dec 2021 15:44:46 -0500 Received: by mail-wm1-f66.google.com with SMTP id y83-20020a1c7d56000000b003456dfe7c5cso2545531wmc.1 for <51838@debbugs.gnu.org>; Tue, 21 Dec 2021 12:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=fdPJxrkmx1dmu/aix+str8L9RCK20mso1wIdF2u9bSM=; b=oGgM2yPW46V0lL8wQhFyW3pikyY+ncbRn4nZk9STmEhwFm83feDY9xNQgxU4jX+6hA CFPCiHq64VMYB17PNWz0u7lJ5ocUx+qa2YN+9BZ/hSLQe4910T/bJcliAtK8sJcv9Mrc cyi4gcaILZDJGjyeKzgCOfY893n7hrrHdNYuXrqCyd9IrDsUeTjske0Ct/OBGp2QHBep wKbEK6QFOo2NGsx3VDqcDsWjj38Adn5FJ7s6mDOYeiUjb7xZypcClbTyYJDTkButK8Ff BrRJgFPOKAi68mXsM+Cwp6Hl3hHoGGhCmzRaAUXqsCuqyq5n+t3wTU8xQRpnVWOCZyI8 dbGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=fdPJxrkmx1dmu/aix+str8L9RCK20mso1wIdF2u9bSM=; b=QByONaLJk7GDtgql1LTN/nkVV1r8I/JL0LbP3cgiUbwv2uSaivmwm3VKgm/gHLhg7f m2NAyMeGRpN4ZMXZkLR1p+uJ6miZyDePYQQw3r+L6uDnkU9qXdnV8v29n7zp6pMT4Zz6 Bmh1ZrRuOYouxRgJInNosi1/ryvTWJ13NX1UNl/b2dEcGNGn94x9rLBvFW9isSLMLSJK ysVaY3koWQ+7wupTpNLqY9WByfI4wxydkiCFUh+9Et8JQ/pJS06l+pVnWxHTsnp71nnF /X+A4yK4kswv5HCDo7tziP0YOIgIJVIGawribhvmAqwyoG54kdiHkO40kzKCH9BZrefL v1Vg== X-Gm-Message-State: AOAM530V4NGYVDP2r1DUIo6U+c15Q68MIFGutx6AmDQdLtep8hmqk/gS 27Ctf4THhunLQCVgINXd1zE= X-Google-Smtp-Source: ABdhPJysgyzJzLjnCD3+7QC7LMGmnBmyw3dKG4r9ZtoPnEg65Es4iXYM1DTBgArOnzNcMAFs7lAipg== X-Received: by 2002:a1c:1fd4:: with SMTP id f203mr154638wmf.192.1640119479561; Tue, 21 Dec 2021 12:44:39 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id g5sm41563wrd.100.2021.12.21.12.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Dec 2021 12:44:38 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Tue, 21 Dec 2021 21:44:37 +0100 In-Reply-To: <06bf9af2-5c6c-54c1-1e2e-a652791a6747@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-1-philip@philipmcgrath.com> <20211217020325.520821-8-philip@philipmcgrath.com> <87k0g36xp3.fsf@ngyro.com> <871r2a7hme.fsf@ngyro.com> <815f327e36ecd24066179586997947ecd8f31150.camel@gmail.com> <33696592-8a3a-8260-bf27-652cf78727a6@philipmcgrath.com> <2c803ea8f5c5c16c892f5528f63a4c7e98470c5b.camel@gmail.com> <314a0ea4-a851-6642-0a59-d4c61d65c242@philipmcgrath.com> <35164d79ab6ae1c0595d27f023376cf98ab1a39d.camel@gmail.com> <9533cfc8-b822-edc0-67ac-7e2c9aeacb09@philipmcgrath.com> <87r1a7118r.fsf@ngyro.com> <41461d4f-5e7d-d9be-51c4-7a58c4f7570f@philipmcgrath.com> <06bf9af2-5c6c-54c1-1e2e-a652791a6747@philipmcgrath.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" 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=1640119544; 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: content-transfer-encoding:content-transfer-encoding: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=fdPJxrkmx1dmu/aix+str8L9RCK20mso1wIdF2u9bSM=; b=TitRoIamd+cD9cqsPZJ8NBCRMHDpdCgZpJZVVVa8DgalcIadJjXxyK9AYXT4IbJkwJvU7j q3nA41JxsAOumod6lEoQg8uy7DVUlAamxwZ4to+VFfwi0vkcydXnjB4XUCu/JIrCGJQzPk IiIDjPE8WNx/2/17/FjbR3ckUkAI5jcHlF2Nb6EuVo78b6JQBDptj4e5xrOETKSj+mSgd2 wHcaVcHSphkAI0UxA/YZ8BKLEKsZhounejP6RxRGM11xqE/p+DyzJCy5NrEYgZMudD+jUY RA0LOf4bS1lT3GzqdX1dZ4l9ErWJTXYcRHeedGa2p2k8SfVqMPsRG3l4/Qjyhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640119544; a=rsa-sha256; cv=none; b=naCIjy5MdL4DcrY9VyXeC+zw7x3r8Zl7OVRZIxHhYuuR3RYDJvR9rDKgk2fXvI0eKgoPqo lTji+/Najw3tEB6c6mWdl9zEapxJlAWYrX0qwwBQD8XH/S0vSGlTXeCjbE7PAQIy8Hl2S/ YTXpRYY5RVY5fZOICSlAKN/gTWazl3VJyAlxZq2in0wwF4aVytZpmX1VRDopQlk+AINzkR lSQmWaCjFnnuTYGrLNz8rBgr6zNHzO6ZXai6WW8LejF6vBiCD+K5keiwSt/eFZiHXhbGHq +AYOt4WMV94sHSWT3JYe88Sw05EIBnohncv/2qXpwYe1XWqoUply/sFOAkVjjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oGgM2yPW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oGgM2yPW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: C9274EAE3 X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: scMZfjbkAp2c Hi, Am Dienstag, dem 21.12.2021 um 13:25 -0500 schrieb Philip McGrath: > Here are, to the best of my understanding, the differences in > representation among (guix build json) and the three versions of > guile-json packaged in Guix. (For guile-json, this is based on my > relatively-quick reading of the docs, not any direct experience.) An > extra complication is that some part of Guix's code staging seems to > incorrectly turn #nil into '(). I will see if I can narrow that down > and file a bug report. > > (guix build json): >    • object -> (Pairof '@ (Listof (Pairof String Json))) >    • array  -> (Listof Json) >    • null   -> #nil >    • string -> String > > guile-json-4: >    • object -> (Listof (Pairof (U Symbol Number String) Json)) >    • array  -> (Vectorof Json) >    • null   -> 'null ;; configurable by keyword argument >    • string -> (U Symbol String) > > guile-json-3: >    • object -> (Listof (Pairof (U Symbol Number String) Json)) >    • array  -> (Vectorof Json) >    • null   -> #nil >    • string -> (U Symbol String) #nil to '() conversions are probably the fault of some syntax-case or match expression. That being said, I hope we don't have to worry about code staging too much as comparison ought to be done using null? imo. I think the main difference between (guix build json) and guile-json here are the extended keys in the latter (guix only has strings) and the vector/object distinction. I think it'd be rather straight-forward to write upgrade guidelines in case we ever make the switch. Similarly, all rules based on pattern-matching *will break*, forcing us to upgrade all the recipes with it. WDYT? Would that be manageable (assuming the change to require Guile-JSON would already be core- updates material)?