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

From: Thomas Chust (chust at web.de)
Date: Sun Sep 20 16:14:42 EDT 2009

2009/9/20 LordGeoffrey <lordgeoffrey at optusnet.com.au>:
> Compile message is:
> null-list?: argument out of domain {1 2 3}
> [...]


that is apparently another instance of the problem that R6RS has
mutable pairs / lists while everything based on the "standard" PLT
Scheme dialects, including the SRFI implementations in the standard
library, has immutable pairs / lists and that, in contrast to other
datatypes, mutable pairs / lists are not a subtype of immutable ones.

In the case of SRFI-1 the problem could probably be remedied with
relative ease by using the reference implementation compiled as R6RS
code instead of the library that comes with PLT Scheme.


All these theories, diverse as they are, have two things in common: They
explain the observed facts, and they are completely and utterly wrong.
                               -- Terry Pratchett, "The Light Fantastic"

Posted on the users mailing list.