[plt-scheme] r6rs (Possible) bug with zip?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Sun Sep 20 16:12:13 EDT 2009

I'm about 92% certain this is incompatibility between mutable and
immutable pairs.

Welcome to MzScheme v4.2.1.3 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
> (require srfi/1)
> (zip '(1 2 3))
((1) (2) (3))

N.

On Sun, Sep 20, 2009 at 8:48 PM, LordGeoffrey
<lordgeoffrey at optusnet.com.au> wrote:
> Compile message is:
> null-list?: argument out of domain {1 2 3}
>
> My code is>>
> #!r6rs
> (import (rnrs base (6))
>       (rnrs io simple)
>       (prefix (srfi :1 lists) srfi1.))
>
> (display (srfi1.zip '(1 2 3)))
> (newline)
>
>
> I am using: 4.2.1.4-svn29jul2009 on unix.
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.