From: Robby Zambito <contact@robbyzambito.me>
To: guile-user@gnu.org
Subject: Re: bytevector seems to be missing in Guile
Date: Sun, 08 Jan 2023 15:35:16 -0500 [thread overview]
Message-ID: <87cz7osr1m.fsf@robbyzambito.me> (raw)
In-Reply-To: <CAGUt3y6OOhDgd4mhD1haP3Z240Tt0Mki54Gbj5zo3mjEUb1O_Q@mail.gmail.com>
Sascha Ziemann <ceving@gmail.com> writes:
> But quote from R7RS page 29:
>
>> For convenience and ease of use, the
>> global Scheme environment in a REPL must not be empty,
>> but must start out with at least the bindings provided by
>> the base library.
Yes I think it's a bug (or at least misleading) that using --r7rs
doesn't import (scheme base). I dug around to see what that flag
actually does. All it does is call (install-r7rs!), which adds .sld to
the load extensions and sets some reader settings.
The documentation isn't technically wrong, since there is /a/ base
library (notice write isn't missing), it's just that there are several
"base" libraries: (guile), (scheme base), and (rnrs base), and the "base
library" is referring to the first one. I think it would be ideal for
--r7rs to use (scheme base) as the base library and for --r6rs to use
(rnrs base) or (rnrs) as the base library.
prev parent reply other threads:[~2023-01-08 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-07 16:34 bytevector seems to be missing in Guile Sascha Ziemann
2023-01-07 20:07 ` Matt Wette
2023-01-07 21:12 ` Wolf
2023-01-07 21:56 ` Taylan Kammer
2023-01-08 0:20 ` Robby Zambito
2023-01-08 12:19 ` Sascha Ziemann
2023-01-08 20:35 ` Robby Zambito [this message]
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=87cz7osr1m.fsf@robbyzambito.me \
--to=contact@robbyzambito.me \
--cc=guile-user@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).