unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* SRFI-23
@ 2011-03-11 16:48 Noah Lavine
  2011-03-27 11:02 ` SRFI-23 Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Noah Lavine @ 2011-03-11 16:48 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

Hello all,

Guile supports srfi-23 (the `error' procedure), and probably has
forever, but it's not documented. This patch adds a note in the manual
saying we support it, and also adds srfi-23 to our list of cond-expand
features that we support.

I think this is safe to apply to stable-2.0.

Noah

[-- Attachment #2: 0001-Document-SRFI-23.patch --]
[-- Type: application/octet-stream, Size: 1865 bytes --]

From c13394bc59bddca500e0ea70848ca91c339009f3 Mon Sep 17 00:00:00 2001
From: Noah Lavine <nlavine@haverford.edu>
Date: Fri, 11 Mar 2011 11:45:33 -0500
Subject: [PATCH] Document SRFI-23

 * doc/ref/srfi-modules.texi: mention that we support SRFI 23
 * module/ice-9/boot-9.scm (%cond-expand-features): add srfi-23
---
 doc/ref/srfi-modules.texi |    6 ++++++
 module/ice-9/boot-9.scm   |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index bda7cbb..6f51167 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -35,6 +35,7 @@ get the relevant SRFI documents from the SRFI home page
 * SRFI-17::                     Generalized set!
 * SRFI-18::                     Multithreading support
 * SRFI-19::                     Time/Date library.
+* SRFI-23::                     Error reporting
 * SRFI-26::                     Specializing parameters
 * SRFI-27::                     Sources of Random Bits
 * SRFI-30::                     Nested multi-line block comments
@@ -3128,6 +3129,11 @@ Conversion is locale-dependent on systems that support it
 locale.
 @end defun
 
+@node SRFI-23
+@subsection SRFI-23 - Error Reporting
+@cindex SRFI-23
+
+The SRFI-23 @code{error} procedure is always available.
 
 @node SRFI-26
 @subsection SRFI-26 - specializing parameters
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index 0f89dce..efa6b1c 100644
--- a/module/ice-9/boot-9.scm
+++ b/module/ice-9/boot-9.scm
@@ -3406,6 +3406,7 @@ module '(ice-9 q) '(make-q q-length))}."
     srfi-4   ;; homogenous numeric vectors
     srfi-6   ;; open-input-string etc, in the guile core
     srfi-13  ;; string library
+    srfi-23  ;; `error` procedure
     srfi-14  ;; character sets
     srfi-55  ;; require-extension
     srfi-61  ;; general cond clause
-- 
1.7.4.1


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

* Re: SRFI-23
  2011-03-11 16:48 SRFI-23 Noah Lavine
@ 2011-03-27 11:02 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2011-03-27 11:02 UTC (permalink / raw)
  To: Noah Lavine; +Cc: guile-devel

On Fri 11 Mar 2011 17:48, Noah Lavine <noah.b.lavine@gmail.com> writes:

> Guile supports srfi-23 (the `error' procedure), and probably has
> forever, but it's not documented. This patch adds a note in the manual
> saying we support it, and also adds srfi-23 to our list of cond-expand
> features that we support.

Applied, thanks!

Andy
-- 
http://wingolog.org/



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

end of thread, other threads:[~2011-03-27 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 16:48 SRFI-23 Noah Lavine
2011-03-27 11:02 ` SRFI-23 Andy Wingo

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