Summary

subvector fails at vector-length

Metadata

Description

The subvector routine should return an empty vector at the end, as does substring. Presently it reports a range error. For example (let ((vec '#(0 1 2 3))) (subvector vec (vector-length vec))) should return '#() but fails instead.

Changes and comments

[2014-02-06 19:51:42 UTC] sjamaan changed status from new to closed

[2014-02-06 19:51:42 UTC] sjamaan set resolution to fixed

[2014-02-06 19:51:42 UTC] sjamaan wrote:

Fixed by changeset 226007b282865d23b67db0ffa92a8b790032efdc