GNU bug report logs - #15912
Improve API of recently-added bool vector functions.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sun, 17 Nov 2013 08:40:02 UTC

Severity: minor

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Colascione <dancol <at> dancol.org>
To: eggert <at> cs.ucla.edu, 15912 <at> debbugs.gnu.org
Subject: bug#15912: Improve API of recently-added bool vector functions.
Date: Sun, 17 Nov 2013 03:07:08 -0800
On 11/17/2013 12:39 AM, Paul Eggert wrote:
> Tags: patch
>
> Here's a proposed patch to improve the API of the recently-added
> bool vector functions.  I'm CC'ing this to Daniel Colascione
> to give him a heads-up, since he added the functions.
> I figure we should get this resolved soon, before the functions
> are frozen for 24.4.
>

The functions _are_ variants. They both count bits, albeit in slightly 
different ways. bool-vector-count-matches is supposed to be evocative to 
CL's count-matches, which has a similar interface. I also dislike 
count-leading as a name: it suggests that the function is useful only at 
the beginning of a vector. How about count-consecutive?




This bug report was last modified 11 years and 239 days ago.

Previous Next


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