[gambit-list] reserved identifiers
Thomas Hafner
thomas at hafner.NL.EU.ORG
Wed Jan 11 05:52:03 EST 2006
scheme-r5rs renders this error message when I load SLIB and enter
(require 'http):
*** ERROR IN "/usr/share/slib/htmlform.scm"@83.28 -- Reserved identifier can't be used as a variable: delay
The referenced SLIB code looks like this:
(define (html:meta-refresh delay . uri) ;;this is line 83
(if (null? uri)
(sprintf #f "\\n<META HTTP-EQUIV=\"Refresh\" CONTENT=\"%d\">" delay)
(sprintf #f "\\n<META HTTP-EQUIV=\"Refresh\" CONTENT=\"%d;URL=%s\">"
delay (car uri))))
Should this SLIB code be portable? Is Gambit-C somehow special? Is
there a list of all reserved identifiers?
My system is:
- Ubuntu with Linux kernel 2.6.11 amd64
- Gambit-C 4.0b16
- SLIB 3a1-4.2
Regards
Thomas
More information about the Gambit-list
mailing list