On Thu, May 5, 2011 at 11:43 AM, <[email protected]> wrote:

> >  The draft does see fit to change map to terminate early, though.
>
> The brings up the question whether list control procedures can accept
> cyclic
> lists.
>
> Should the following be valid?
>
> (map cons #0=(a b c . #0#) '(1 2 3 4 5))
>  => ((a 1) (b 2) (c 3) (a 4) (b 5))
>

(list? '#0=(a b c . #0#)) ==> #f

..and I'm pretty sure map requires lists.
_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to