[Scheme-reports] libraries Michael Montague 20 May 2013 04:24 UTC

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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports