[plt-scheme] SRFI-1 move to scheme/list?

From: Michael Sperber (sperber at deinprogramm.de)
Date: Sun Jan 20 11:28:28 EST 2008

Eli Barzilay <eli at barzilay.org> writes:

> On Jan 19, Noel Welsh wrote:
>> On Jan 19, 2008 2:23 PM, Michael Sperber <sperber at deinprogramm.de> wrote:
>> > If there are differences, and requiring (lib "1.ss" "srfi") gets you
>> > procedures that aren't conformant with SRFI 1, that's a big problem.  I
>> > recommend strongly against it.
>> 
>> Agreed.  To clarify my suggestion is merely that scheme/list become
>> more complete.  To me, complete means "does what SRFI-1 does with
>> appropriate changes to match existing convention in scheme/list",
>> but I am open to other definitions of complete, such as stealing
>> from the R6RS list library, or the Haskell library, or
>> Your-Favourite-Library-Here.
>
> OK, I think that there's an alternative solution that works fine: a
> require macro that allows you to do this:
>
>   #lang scheme/base
>   (require (overriding-in srfi/1 scheme/base scheme/list))

For people like me, this would make it even harder to read the code,
i.e. predict from the `require' forms which identifiers come from what
library.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


Posted on the users mailing list.