[plt-scheme] SRFI-1 move to scheme/list?
On Jan 18, 2008 3:58 PM, Eli Barzilay <eli at barzilay.org> wrote:
> What about the subtle differences in behavior? For example:
>
> Welcome to MzScheme v3.99.0.9 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
> > (require scheme/list)
> > (require (prefix-in s: srfi/1))
> > (s:second (list* 1 2 3 4))
> 2
> > (second (list* 1 2 3 4))
> second: expected argument of type <list>; given (1 2 3 . 4)
I expect many people don't care about these differences. Certainly my
suggestion is just to add the functions in SRFI-1 to scheme/list,
possibly changing the semantics to match the functions already in
scheme/list. It isn't necessary to advertise scheme/list as actually
implementing SRFI-1. My point is that now scheme/list is fairly
ubiquitous (far more the default than (lib "list.ss") was) , it should
be more complete.
N.