bug#52749: G-expressions don't consistently preserve #nil

2022-01-03 Thread Maxime Devos
Philip McGrath schreef op ma 27-12-2021 om 13:38 [-0500]: > I haven't looked at the implementation at all, but extending `write` > certainly would be a reasonable option, and, longer-term, it might be > possible to upstream a patch adding the needed behavior. Not sure what the API should be (an

bug#52749: G-expressions don't consistently preserve #nil

2022-01-03 Thread Maxime Devos
Philip McGrath schreef op ma 27-12-2021 om 13:38 [-0500]: > I think the behavior of `gexp->approximate-sexp` is at least defensible, > since its documentation (`info guix "gexp->approximate-sexp"`) warns > that "some information can be lost". But no information is lost in this case? $ guix

bug#52749: G-expressions don't consistently preserve #nil

2021-12-27 Thread Maxime Devos
Philip McGrath schreef op ma 27-12-2021 om 13:38 [-0500]: > Hi! > > Just as a general disclaimer, I'm a Racketeer and only incidentally a > Schemer, so I'm not very familiar with the universe of Guile libraries. > > On 12/23/21 01:59, Maxime Devos wrote: >  > Philip McGrath schreef op wo

bug#52749: G-expressions don't consistently preserve #nil

2021-12-27 Thread Philip McGrath
Hi! Just as a general disclaimer, I'm a Racketeer and only incidentally a Schemer, so I'm not very familiar with the universe of Guile libraries. On 12/23/21 01:59, Maxime Devos wrote: > Philip McGrath schreef op wo 22-12-2021 om 23:25 [-0500]: >> G-expressions currently do not consistently

bug#52749: G-expressions don't consistently preserve #nil

2021-12-25 Thread Maxime Devos
Maxime Devos schreef op do 23-12-2021 om 06:59 [+]: > Philip McGrath schreef op wo 22-12-2021 om 23:25 [-0500]: > > G-expressions currently do not consistently preserve the distinction > > between #nil and '(), which causes trouble for programs that rely on > > that distinction. In

bug#52749: G-expressions don't consistently preserve #nil

2021-12-23 Thread Maxime Devos
Philip McGrath schreef op wo 22-12-2021 om 23:25 [-0500]: > G-expressions currently do not consistently preserve the distinction > between #nil and '(), which causes trouble for programs that rely on > that distinction. In particular, the issue affects programs that use > (guix build json),

bug#52749: G-expressions don't consistently preserve #nil

2021-12-22 Thread Maxime Devos
Hi, Philip McGrath schreef op wo 22-12-2021 om 23:25 [-0500]: > G-expressions currently do not consistently preserve the distinction > between #nil and '(), which causes trouble for programs that rely on > that distinction. In particular, the issue affects programs that use > (guix build

bug#52749: G-expressions don't consistently preserve #nil

2021-12-22 Thread Philip McGrath
G-expressions currently do not consistently preserve the distinction between #nil and '(), which causes trouble for programs that rely on that distinction. In particular, the issue affects programs that use (guix build json), because that library uses #nil to represent the JSON value `null',