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

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

On Jan 18, Noel Welsh wrote:
> Now that many list functions are moving into the core of PLT Scheme
> (scheme, scheme/base, etc.) should all of the SRFI-1 functions move
> to scheme/list?  Using SRFI-1 is now a bit of a pain due to name
> collisions.  We could change SRFI-1 to avoid name collisions
> (extending what is already done) but it seems the intention is that
> scheme/list will provide all the common functions.

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))
  > (second (list* 1 2 3 4))
  second: expected argument of type <list>; given (1 2 3 . 4)

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

Posted on the users mailing list.