[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] libraries
- To: scheme-reports@x
- Subject: [Scheme-reports] libraries
- From: Michael Montague <mikemon@x>
- Date: Sun, 19 May 2013 21:24:22 -0700
http://trac.sacrideo.us/wg/ticket/536
Right now, it is not possible to have a library which works in both R6RS
and R7RS. If the 'define-library' keyword was changed to 'library' then
some libraries would work in both R6RS and R7RS.
Using a distinct keyword makes portability of libraries between R6RS and
R7RS impossible. I believe that normal error detection on R6RS systems
should detect R7RS libraries (outside the common subset) as an error.
And vice versa for R7RS systems. It seems like it would be reasonably
easy for a system to decide that the error is likely caused by an
incompatible library. And for systems that want to support both R6RS and
R7RS, it seems like attempting to load the library first as R7RS and if
that doesn't work then as R6RS would do the trick.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports