|
From: | Philip McGrath |
Subject: | [bug#51838] [PATCH v5 07/45] guix: node-build-system: Add #:absent-dependencies argument. |
Date: | Wed, 22 Dec 2021 23:41:08 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
Hi, On 12/21/21 15:44, Liliana Marie Prikler wrote:
Am Dienstag, dem 21.12.2021 um 13:25 -0500 schrieb Philip McGrath: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.#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've reported the problem with g-expressions here: https://issues.guix.gnu.org/52749
In brief, the problem is that a Scheme value like: '(@ ("k" . #nil)) ought to produce the JSON: {"k":null} but, if it is part of a g-expression, it instead produces: {"k":[]} -Philip
[Prev in Thread] | Current Thread | [Next in Thread] |