Re: [Scheme-reports] Checking implementation features and Scheme name? John Cowan (03 Jan 2012 17:42 UTC)

Re: [Scheme-reports] Checking implementation features and Scheme name? John Cowan 03 Jan 2012 17:41 UTC

Stefan Edwards scripsit:

> Perhaps I'm wrong, but I thought SRFI-0/7 only worked on features
> specified by SRFIs, and not things such as POSIX interaction,
> non-SRFI-based threading, implementation specific module styles,
> &c. Even just having a bog-standard methods for accessing the
> implementation name would help, I think.

In R7RS, cond-expand is provided as part of the module language,
so it can control what modules are imported, what names are exported,
what code bodies are included or not.  It is not quite the same as the
cond-expand from SRFI 0.

The features provided, other than "r7rs", are up to the implementation.

--
John Cowan  cowan@ccil.org   http://www.ccil.org/~cowan
O beautiful for patriot's dream that sees beyond the years
Thine alabaster cities gleam undimmed by human tears!
America! America!  God mend thine every flaw,
Confirm thy soul in self-control, thy liberty in law!
        --one of the verses not usually taught in U.S. schools

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports