From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robby Zambito Newsgroups: gmane.lisp.guile.user Subject: Re: bytevector seems to be missing in Guile Date: Sun, 08 Jan 2023 15:35:16 -0500 Message-ID: <87cz7osr1m.fsf@robbyzambito.me> References: <2dba29d6-8976-fa93-80df-37f32977d486@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37096"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.11; emacs 28.2 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jan 08 21:36:21 2023 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pEcOy-0009VC-Hm for guile-user@m.gmane-mx.org; Sun, 08 Jan 2023 21:36:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEcOY-0000XQ-1I; Sun, 08 Jan 2023 15:35:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEcOW-0000XD-Ec for guile-user@gnu.org; Sun, 08 Jan 2023 15:35:52 -0500 Original-Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEcOU-0006nm-Ce for guile-user@gnu.org; Sun, 08 Jan 2023 15:35:52 -0500 Original-Received: (Authenticated sender: contact@robbyzambito.me) by mail.gandi.net (Postfix) with ESMTPSA id 2F292240002 for ; Sun, 8 Jan 2023 20:35:43 +0000 (UTC) In-reply-to: Received-SPF: pass client-ip=2001:4b98:dc4:8::221; envelope-from=contact@robbyzambito.me; helo=relay1-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18858 Archived-At: Sascha Ziemann 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.