[plt-scheme] r6rs (Possible) bug with zip?
2009/9/20 LordGeoffrey <lordgeoffrey at optusnet.com.au>:
> Compile message is:
> null-list?: argument out of domain {1 2 3}
> [...]
Hello,
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.
Ciao,
Thomas
--
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"