unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] doc: tour: note the top-level modules ice-9, scheme, and srfi
@ 2024-07-20 13:11 Dr. Arne Babenhauserheide
       [not found] ` <handler.72208.B.17214811119924.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Arne Babenhauserheide @ 2024-07-20 13:11 UTC (permalink / raw)
  To: guile-devel, bug-guile


[-- Attachment #1.1: Type: text/plain, Size: 250 bytes --]

Hi,

the attached patch is a companion to the thread "The Guile junk drawer
and a C plea" in guile-devel.

Its goal is to ensure that newcomers learn early about the main module
prefixes provided by Guile: (scheme ...), (srfi ...), and (ice-9 ...).


[-- Attachment #1.2: 0001-doc-reference-ice-9-scheme-and-srfi.patch --]
[-- Type: text/x-patch, Size: 1352 bytes --]

From 929f5075be5d21c552e91931aca4a68fde348e21 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@web.de>
Date: Sat, 20 Jul 2024 15:03:15 +0200
Subject: [PATCH] doc: reference ice-9, scheme, and srfi

* doc/ref/tour.texi (Using Modules): reference ice-9, scheme, and srfi.
---
 doc/ref/tour.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/ref/tour.texi b/doc/ref/tour.texi
index c0ecb1699..7142394a5 100644
--- a/doc/ref/tour.texi
+++ b/doc/ref/tour.texi
@@ -210,6 +210,15 @@ processing or command line parsing.  Additionally, there exist many
 Guile modules written by other Guile hackers, but which have to be
 installed manually.
 
+Most provided modules use one of three different prefixes:
+
+@itemize @bullet
+@item @code{ice-9} includes guile-specific modules: the standard library of Guile. @xref{Status, History of ice-9, History of ice-9}
+@item @code{scheme} includes modules from the RnRS standard: @url{https://standards.scheme.org/}.
+@item @code{srfi} includes Scheme Requests For Implementation; SRFI’s: @url{https://srfi.schemers.org/}.
+@end itemize
+
+
 Here is a sample interactive session that shows how to use the
 @code{(ice-9 popen)} module which provides the means for communicating
 with other processes over pipes together with the @code{(ice-9
-- 
2.45.1


[-- Attachment #1.3: Type: text/plain, Size: 312 bytes --]


There may be more places where it could be useful to add references, so
newcomers are guided to easily know their way around what Guile
provides. This is the most obvious place I found, so I started there.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72208: [PATCH] doc: tour: note the top-level modules ice-9, scheme, and srfi
       [not found] ` <handler.72208.B.17214811119924.ack@debbugs.gnu.org>
@ 2024-07-20 15:03   ` Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2024-07-20 15:03 UTC (permalink / raw)
  To: 72208; +Cc: guile-devel


[-- Attachment #1.1: Type: text/plain, Size: 152 bytes --]

Hi,

Following my answer in the discussion (after checking the non-ice-9
prefixes), this may be a better representation of the modules Guile
provides:


[-- Attachment #1.2: 0001-doc-reference-ice-9-scheme-and-srfi.patch --]
[-- Type: text/x-patch, Size: 1629 bytes --]

From 6838e4da9712425e7e45805a73731bb399d90a86 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@web.de>
Date: Sat, 20 Jul 2024 15:03:15 +0200
Subject: [PATCH] doc: reference ice-9, scheme, and srfi

* doc/ref/tour.texi (Using Modules): reference ice-9, scheme, and srfi.
---
 doc/ref/tour.texi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/ref/tour.texi b/doc/ref/tour.texi
index c0ecb1699..91eb10bb9 100644
--- a/doc/ref/tour.texi
+++ b/doc/ref/tour.texi
@@ -210,6 +210,16 @@ processing or command line parsing.  Additionally, there exist many
 Guile modules written by other Guile hackers, but which have to be
 installed manually.
 
+Most provided modules use prefixes based on their origin:
+
+@itemize @bullet
+@item @code{ice-9} includes guile-specific modules: the standard library of Guile. @xref{Status, History of ice-9, History of ice-9}
+@item @code{rnrs} and @code{scheme} include modules from the RnRS standard (@url{https://standards.scheme.org/}). @xref{R7RS Support} and @xref{R6RS Support}
+@item @code{srfi} includes Scheme Requests For Implementation; SRFI’s (@url{https://srfi.schemers.org/}). @xref{SRFI Support}
+@item Some larger features have their own prefix. These include @code{web} (@pxref{Web}), @code{oop} (@xref{GOOPS}), @code{sxml} (@pxref{SXML}), and @code{language} (@pxref{Other Languages}).
+@end itemize
+
+
 Here is a sample interactive session that shows how to use the
 @code{(ice-9 popen)} module which provides the means for communicating
 with other processes over pipes together with the @code{(ice-9
-- 
2.45.1


[-- Attachment #1.3: Type: text/plain, Size: 101 bytes --]


Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-20 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-20 13:11 [PATCH] doc: tour: note the top-level modules ice-9, scheme, and srfi Dr. Arne Babenhauserheide
     [not found] ` <handler.72208.B.17214811119924.ack@debbugs.gnu.org>
2024-07-20 15:03   ` bug#72208: " Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language

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).