diff options
author | Andy Wingo <wingo@pobox.com> | 2020-04-12 22:39:55 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2020-04-12 22:39:55 +0200 |
commit | 06709d77b9f519c712e13e086c7213e5a77fcbc4 (patch) | |
tree | b3f94fd3454cc22208dc8f8bb570b795798d917e /module/ice-9/sandbox.scm | |
parent | cae74359decc1a9d28c7892c7344512178eeac2e (diff) | |
download | guile-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.scm | 2 |
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 |