Re: srfi-0 and srfi-7
"Neil W. Van Dyke" <[email protected]>
| Newsgroups | gmane.lisp.scheme.plt.schematics |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response. > Neil> 3. Are SRFI-0/7 feature names for MzScheme-specific extensions defined? > Neil> I don't see any in "features.ss". > > No, and for good reason. I can only guess at the guiding philosophy; could you elaborate? There are non-SRFI features that my portable code needs to talk about. For example, my current code has to know which of a few TCP APIs to use, and the most pragmatic way is to talk about features such as "Scsh Posix sockets API," (supported by not just Scsh) and "MzScheme 200 (supported to some extent under Gauche). Also, there are cases like Scsh and Scheme48 declining to provide an R5RS-compliant "integer->char". So I need a way of talking about how to get "ascii->char" behavior. And sometimes I just want to know which implementation I'm running on, since I have a priori information about particular ways to do things on that implementation for big wins or to work at all. In fact, this is probably what I need most often: "If we're using Foo Scheme, then do THIS. If Bar Scheme, then THAT. If neither of those, but the implementation supports a Baz API, then do THOSE THINGS. If all else fails, use THESE criminally inefficient R5RS-based procedures." ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504