[Top][All Lists]

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

Re: What is the point of bytevectors?

From: John Cowan
Subject: Re: What is the point of bytevectors?
Date: Sat, 12 Sep 2020 12:48:50 -0400

On Sat, Sep 12, 2020 at 3:51 AM divoplade <> wrote:

> From the scheme side, however:
> 1. The bytevector library needs to be imported;

If a single line is a serious overhead, then your program is tiny and you
can do whatever you want: it will be obvious to whoever maintains the
program next (including you).

> 2. The function names have way more characters to type;

Use an autocompleting editor such as Emacs.

> 3. The bytevector library is missing a lot of text functions (like
> join, split, trim, pad, searching...).

That is indeed an issue.  Fortunately SRFI 207, though not yet final, comes
to your rescue. You can't get the spiffy syntax described at <> unless you modify the
Guile reader, but the procedures documented there can be found at <>.

John Cowan
It was impossible to inveigle
Georg Wilhelm Friedrich Hegel
Into offering the slightest apology
For his Phenomenology.                      --W. H. Auden, from "People"

reply via email to

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