GNU bug report logs - #6878
bool-vectors of length 0 signal error when aref/aset the 0th element

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Wed, 18 Aug 2010 04:19:02 UTC

Severity: minor

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #55 received at 6878 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: MON KEY <monkey <at> sandpframing.com>
Cc: Juanma Barranquero <lekktu <at> gmail.com>, Chong Yidong <cyd <at> stupidchicken.com>,
	Andreas Schwab <schwab <at> linux-m68k.org>, 6878 <at> debbugs.gnu.org
Subject: Re: bug#6878: bool-vectors of length 0 signal error when aref/aset
	the 0th element
Date: Fri, 20 Aug 2010 15:02:41 +0200
> As you wish. Though, I don't think changing the wording solves the
> real problem If there are no good reasons to create a boole-vectro of
> length 0 why allow it?

That's the wrong question. The question is: why not allow them?

> Emacs lisp doesn't and I can think of no good reasons to create 0
> length bool-vectors.
> Can any one else?

The same reasons to create zero-length strings.


        Stefan




This bug report was last modified 14 years and 337 days ago.

Previous Next


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