diff options
author | Daniel Llorens <lloda@sarc.name> | 2021-08-05 17:27:31 +0200 |
---|---|---|
committer | Daniel Llorens <lloda@sarc.name> | 2021-08-06 13:06:51 +0200 |
commit | bfda8d397251cdb88bf1e775c85c41a4d01061ac (patch) | |
tree | 47d2edadb563d54c6551a70621fe34d9edefb5b7 /module/scheme | |
parent | 81f12bf86eed96c7ecdf6c9ce40d5abe6c729457 (diff) | |
download | guile-bfda8d397251cdb88bf1e775c85c41a4d01061ac.tar.gz |
Deprecate use of vector-move-left! and vector-move-right! on non-vector arrays
These functions weren't advertised to work on non-vector arrays. They
did try to, but only incorrectly. For example:
(define a (vector 1 2 3 4 5))
(define b (make-array 0 '(1 5)))
(vector-move-right! a 0 2 b 2)
b
=> #1@1(0 0 1 2 0)
instead of the correct result #1@1(0 1 2 0 0).
* libguile/vectors.c (vector-move-left!, vector-move-right!): As stated.
Diffstat (limited to 'module/scheme')
0 files changed, 0 insertions, 0 deletions