GNU bug report logs - #21915
write inconsistent about #nil

Previous Next

Package: guile;

Reported by: Zefram <zefram <at> fysh.org>

Date: Sat, 14 Nov 2015 01:48:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Taylan Kammer <taylan.kammer <at> gmail.com>
To: 21915 <at> debbugs.gnu.org
Subject: bug#21915: write inconsistent about #nil
Date: Fri, 14 May 2021 23:31:30 +0200
[Message part 1 (text/plain, inline)]
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
> of a list.  The only negative I can think of is that it would
> be mildly annoying to see (foo bar . #nil) where you expected
> to see (foo bar), but I don't think that's ever really harmful.
> 

FWIW here's a tiny patch that realizes this change.

- Taylan
[0001-Don-t-write-foo-.-nil-as-foo.patch (text/plain, attachment)]

This bug report was last modified 4 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.