bug#21915: write inconsistent about #nil

2021-05-14 Thread Taylan Kammer
On 14.05.2021 15:34, Taylan Kammer wrote: > > It might also be good, in addition, to make the Scheme writer > write (foo . #nil) as (foo . #nil). The positive is that it > would make bugs in Elisp compatibility easier to see by not > masking the fact that one has #nil instead of () at the end > o

bug#48425: Should #nil be equal? to '()?

2021-05-14 Thread Taylan Kammer
I believe it would be better if #nil were equal? to (). It would keep *not* being equal? to #f and as such not disturb the property of transitiveness. Making #nil and () be equal? would be a lot more intuitive since they both represent the empty list, and since equal? is commonly used to test the

bug#48422: Cannot print backtrae from system-async-mark

2021-05-14 Thread Maxime Devos
Severity: minor Hi guilers, I have some trouble making backtraces with system-async-mark. (Not encountered in ‘real code’, only when playing with the REPL.) From a REPL: scheme@(guile-user)> (system-async-mark backtrace ) Backtrace: Exception thrown while printing backtrace: In procedure progr

bug#48412: duplicate ?

2021-05-14 Thread Adriano Peluso
I just noticed someone sent a patch that seems relevant here It's in #43102 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43102

bug#21915: write inconsistent about #nil

2021-05-14 Thread Taylan Kammer
Hi Zefram, this is an interesting issue. Here's a related one: https://bugs.gnu.org/48318 I think first of all #nil and '() should actually be equal? to each other. After all, both represent the empty list, and checking structural equality between lists is one of the common uses of equal?.

bug#48412: tracepointing and backtracing in the REPL sometime hang

2021-05-14 Thread Adriano Peluso
in Guile 3.0.5 installed with Guix (as a package manager on top of Ubuntu) In a file I have this simple procedure (define (f n) (if (< n 3) n (+ (f (- n 1)) (* 2 (f (- n 2))) (* 3 (f (- n 3)) it's a variation of the one calculating the Fibonacci numbers, from