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

* Re: cond-expand srfi-6 string ports
  2004-07-04 23:47 cond-expand srfi-6 string ports Kevin Ryde
@ 2004-07-07 17:30 ` Rob Browning
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Browning @ 2004-07-07 17:30 UTC (permalink / raw)


Kevin Ryde <user42@zip.com.au> writes:

> 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?

Sounds reasonable to me.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


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