guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] vectors: add (vector-last) support


From: Aleix Conchillo Flaqué
Subject: Re: [PATCH] vectors: add (vector-last) support
Date: Fri, 12 Feb 2021 11:56:59 -0800

Any interest on this one?

On Mon, Dec 21, 2020 at 1:44 AM Aleix Conchillo Flaqué <aconchillo@gmail.com> 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 know what you think.

Thanks,

Aleix

reply via email to

[Prev in Thread] Current Thread [Next in Thread]