summaryrefslogtreecommitdiff
path: root/module/ice-9/sandbox.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2020-04-12 22:39:55 +0200
committerAndy Wingo <wingo@pobox.com>2020-04-12 22:39:55 +0200
commit06709d77b9f519c712e13e086c7213e5a77fcbc4 (patch)
treeb3f94fd3454cc22208dc8f8bb570b795798d917e /module/ice-9/sandbox.scm
parentcae74359decc1a9d28c7892c7344512178eeac2e (diff)
downloadguile-06709d77b9f519c712e13e086c7213e5a77fcbc4.tar.gz
Replace bit-position with bitvector-position
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 (scm_bitvector_position): New function. * libguile/deprecated.h: * libguile/deprecated.c (scm_bit_position): Deprecate. * module/ice-9/sandbox.scm (bitvector-bindings): Replace bit-position with bitvector-position. * module/language/cps/intset.scm (bitvector->intset): Use bitvector-position. * module/system/vm/frame.scm (available-bindings): Use bitvector-position. * test-suite/tests/bitvectors.test ("bitvector-position"): Add test.
Diffstat (limited to 'module/ice-9/sandbox.scm')
-rw-r--r--module/ice-9/sandbox.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ice-9/sandbox.scm b/module/ice-9/sandbox.scm
index a9eefbfdd..bd80a49fe 100644
--- a/module/ice-9/sandbox.scm
+++ b/module/ice-9/sandbox.scm
@@ -1076,9 +1076,9 @@ allocation limit is exceeded, an exception will be thrown to the
(define bitvector-bindings
'(((guile)
bitvector-count
+ bitvector-position
bit-count*
bit-extract
- bit-position
bitvector
bitvector->list
bitvector-length