guile-devel
[Top][All Lists]
Advanced

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

Re: [EXT] [PATCH] Add 'bytevector-slice'.


From: lloda
Subject: Re: [EXT] [PATCH] Add 'bytevector-slice'.
Date: Wed, 11 Jan 2023 20:05:35 +0100



On 11 Jan 2023, at 18:37, Thompson, David <dthompson2@worcester.edu> wrote:

On Wed, Jan 11, 2023 at 12:34 PM Ludovic Courtès <ludo@gnu.org> wrote:

What could be convenient though is ‘bytevector-copy’ (no bang), which
would combine ‘make-bytevector’ + ‘bytevector-copy!’.

'bytevector-copy' already exists, or do you mean some different
implementation of it?

- Dave

The current bytevector-copy takes a single argument. I would extend it in the same way the srfi4 copy functions were extended recently in the following commit

http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=6be51f9bbf47692ee5747b2cac6b372df65de970

Regards

  Daniel


reply via email to

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