unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* cond-expand srfi-6 string ports
@ 2004-07-04 23:47 Kevin Ryde
  2004-07-07 17:30 ` Rob Browning
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2004-07-04 23:47 UTC (permalink / raw)


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

Since srfi-6 string ports are builtin to guile, should srfi-6 be
always true in cond-expand?  Ie. true before doing any use-module?

I don't suppose it makes much difference, but if the feature is
available it may as well be indicated.

        * boot-9.scm (%cond-expand-features): Add srfi-6 which is in the core.

(This could be for the 1.6 branch too.)


[-- Attachment #2: boot-9.scm.cond-expand.diff --]
[-- Type: text/plain, Size: 651 bytes --]

--- boot-9.scm.~1.332.~	2004-06-17 08:08:25.000000000 +1000
+++ boot-9.scm	2004-07-05 09:47:14.000000000 +1000
@@ -3183,14 +3183,18 @@
 ;;;
 ;;; Currently, the following feature identifiers are supported:
 ;;;
-;;;   guile r5rs srfi-0
+;;;   guile r5rs srfi-0 srfi-6
 ;;;
 ;;; Remember to update the features list when adding more SRFIs.
 ;;;
 
 (define %cond-expand-features
   ;; Adjust the above comment when changing this.
-  '(guile r5rs srfi-0))
+  '(guile
+    r5rs
+    srfi-0   ;; cond-expand itself
+    srfi-6   ;; open-input-string etc, in the guile core
+    ))
 
 ;; This table maps module public interfaces to the list of features.
 ;;

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

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

end of thread, other threads:[~2004-07-07 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-04 23:47 cond-expand srfi-6 string ports Kevin Ryde
2004-07-07 17:30 ` Rob Browning

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