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

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jan 18 11:10:56 EST 2008

On Jan 18, Noel Welsh wrote:
> 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.

Well, I should have phrased my question differently -- is there any
such differences that people will care about?  (Alternatively, are
there any such differences that matter in cases where "you get what
you deserve for doing X" is not a good answer, as in the above.)


> 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.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.