summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2020-04-12 22:17:22 +0200
committerAndy Wingo <wingo@pobox.com>2020-04-12 22:17:22 +0200
commitcae74359decc1a9d28c7892c7344512178eeac2e (patch)
tree72984b9ae43c5aa79ad285caedbda6f83091cdb2 /NEWS
parent24a34074ef8fd91c111ed9987375f25925f69e26 (diff)
downloadguile-cae74359decc1a9d28c7892c7344512178eeac2e.tar.gz
Replace bit-count with bitvector-count
The old name was wonky and had bad argument order. * NEWS: Add entry. * doc/ref/api-data.texi (Bit Vectors): Update. * libguile/bitvectors.h: * libguile/bitvectors.c (VALIDATE_BITVECTOR): New helper. (scm_bitvector_count): New function. * libguile/deprecated.h: * libguile/deprecated.c (scm_bit_count): Deprecate. * module/ice-9/sandbox.scm (bitvector-bindings): Replace bit-count with bitvector-count. * module/srfi/srfi-60.scm: No need to #:replace bit-count. * module/system/vm/frame.scm (available-bindings): Use bitvector-count. * test-suite/tests/bitvectors.test ("bitvector-count"): Add test.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 65cbd1c8b..e485226c0 100644
--- a/NEWS
+++ b/NEWS
@@ -7,8 +7,19 @@ Please send Guile bug reports to bug-guile@gnu.org.
Changes in 3.0.3 (since 3.0.2)
+* New interfaces and functionality
+
+** New bitvector-count procedure
+
+This replaces the wonky "bit-count" procedure. See "Bit Vectors" in the
+manual, for more.
+
* New deprecations
+** bit-count deprecated
+
+Use bitvector-count instead. See "Bit Vectors" in the manual.
+
** Passing a u32vector to 'bit-set*!' and 'bit-count*' deprecated
These functions had an interface that allowed the second bit-selection