bug#39221: Elisp nil is not a symbol in Elisp

2021-05-13 Thread Taylan Kammer
Interesting issue. Was also not fixed in bipt's wip-elisp branch. Attached is a patch that attempts to fix this, and some related issues, both for nil and for t. The strategy is: 1. All Elisp functions we implement in terms of Scheme must be written to special-handle #nil and #t if they acce

bug#48318: (ice-9 match) does not allow distinguishing between () and #nil

2021-05-13 Thread Taylan Kammer
Hi Maxime, I believe that match conflating () and #nil is the right thing, even if the current implementation does it unintentionally. Those two values should be considered "the same" in most situations even though (eqv? #nil '()) is false. In fact I think they should be equal? to each other. I

bug#48318: (ice-9 match) does not allow distinguishing between () and #nil

2021-05-13 Thread Maxime Devos
Taylan Kammer schreef op do 13-05-2021 om 21:14 [+0200]: > Hi Maxime, > > I believe that match conflating () and #nil is the right thing, > even if the current implementation does it unintentionally. > > Those two values should be considered "the same" in most situations > even though (eqv? #nil

bug#48318: (ice-9 match) does not allow distinguishing between () and #nil

2021-05-13 Thread Taylan Kammer
On 13.05.2021 22:39, Maxime Devos wrote: > Taylan Kammer schreef op do 13-05-2021 om 21:14 [+0200]: >> Hi Maxime, >> >> I believe that match conflating () and #nil is the right thing, >> even if the current implementation does it unintentionally. >> >> Those two values should be considered "the sam

bug#25822: ref manual typo in "Shifts, Resets and All That"

2021-05-13 Thread Taylan Kammer
Version: 3.0.3 Was fixed in commit ab861be9b. - Taylan

bug#47875: Elisp reader doesn't handle keywords

2021-05-13 Thread Taylan Kammer
This seems to have been fixed in the wip-elisp branch. Note that the branch is a couple years old. There's a version of the branch by Ricardo Wurmus (rekado) that's been rebased on a newer version of Guile, though still not on 3.0: https://git.elephly.net/?p=software/guile.git;a=shortlog;h=refs/