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

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Jan 18 11:06:59 EST 2008

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.


Posted on the users mailing list.