A simpler way is to use a prefix, e.g. (prefix (srfi: 1) srfi-1-) then you can use srfi-1-filter for the srfi 1 version, and filter for the rnrs version etc.
On Sun, May 17, 2009 at 4:08 PM, Ramana Kumar <[email protected]> wrote: > Oh sorry - that won't work! I meant (only (rnrs) ...) > > On Sun, May 17, 2009 at 4:07 PM, Ramana Kumar <[email protected]> wrote: >> If you don't like (except (rnrs) ...) you probably won't like (only >> (srfi :1) ...), although it might be shorter depending on what you >> need from SRFI 1. >> >> On Sun, May 17, 2009 at 4:03 PM, Eduardo Cavazos <[email protected]> >> wrote: >>> Hello, >>> >>> I marked it as off topic because it deals with ypsilon, but this is the best >>> place to find R6RS hackers (and I know Fujita hangs out here too :-) ). >>> >>> I'd like to use SRFI 1 in a script (Ypsilon comes with a SRFI 1 >>> implementation). But the import form: >>> >>> (import (rnrs) (srfi :1)) >>> >>> results in an error because of the overlap in names. So... what's the best >>> way to go about this? I hope it's not to do (except (rnrs) ...) >>> >>> Ed >>> >> >
