unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Aleix Conchillo Flaqué" <aconchillo@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: Re: [PATCH] vectors: add (vector-last) support
Date: Fri, 12 Feb 2021 11:56:59 -0800	[thread overview]
Message-ID: <CA+XASoVFTpFz5=pp41WAEzHRw+5jXZ4PwEws=brRWhTCDuiVJw@mail.gmail.com> (raw)
In-Reply-To: <CA+XASoUew-+treu+6bo0asFez_yPHj9nZYt2VCNXBrdxnCwFnA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 767 bytes --]

  reply	other threads:[~2021-02-12 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21  9:44 [PATCH] vectors: add (vector-last) support Aleix Conchillo Flaqué
2021-02-12 19:56 ` Aleix Conchillo Flaqué [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-12 20:03 Aleix Conchillo Flaqué
2021-05-25 19:04 ` Aleix Conchillo Flaqué

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+XASoVFTpFz5=pp41WAEzHRw+5jXZ4PwEws=brRWhTCDuiVJw@mail.gmail.com' \
    --to=aconchillo@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).