ping!
On Fri, Feb 12, 2021, 12:03 PM Aleix Conchillo Flaqué
wrote:
> * libguile/vectors.c: add (vector-last) support.
>
> * libguile/vectors.h: define scm_vector_last and scm_c_vector_last.
>
> * doc/ref/api-data.texi (Vector Accessors): add documentation for
> (vector-last).
>
> Signed-off-by:
Any interest on this one?
On Mon, Dec 21, 2020 at 1:44 AM Aleix Conchillo Flaqué
wrote:
> 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
* libguile/vectors.c: add (vector-last) support.
* libguile/vectors.h: define scm_vector_last and scm_c_vector_last.
* doc/ref/api-data.texi (Vector Accessors): add documentation for
(vector-last).
Signed-off-by: Aleix Conchillo Flaqué
---
doc/ref/api-data.texi | 10 ++
libguil
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
0001-vectors-add-vector-last-support.patch
Description: Binary d