Hi, Attached is a patch to add support for a new function (vector-last) that will retrieve the last element of a vector. This avoids having to do (vector-ref v (- (vector-length v) 1)). Let me know what you think. Thanks, Aleix