From: John Cowan <[email protected]> Subject: Re: [r6rs-discuss] Import choices: flexibility vs. discoverability Date: Tue, 13 Oct 2009 21:24:16 -0400
> Shiro Kawai scripsit: > > > I don't understand. My application can work with and without > > Good-Module, but wants to use it if available. > > Somewhere in my app I need to say (import Good-Module) in > > order to use existing Scheme module Good-Module, right? > > I'm doing a bad job of explaining. The idea is not that there are > Good-Module and Fallback-Module, but that there is a single module with > good and fallback implementations, and you use expand-time conditionals > to decide which you can use. The idea is that an application needs > whatever Scheme API it needs, but it can choose which implementation of > that API to use based on external circumstances. That's what I understand, but that's a different problem I (and Alaric, I think) am concerning. It is a practical situation that a module may or may not be available and I want to make my code run in both way. Do you suggest that your proposal doesn't cover this scenario? --shiro _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
