[Scheme-reports] must list-copy handle cycles? Per Bothner (02 Jul 2012 20:31 UTC)
Re: [Scheme-reports] must list-copy handle cycles? Alex Shinn (02 Jul 2012 20:42 UTC)
Re: [Scheme-reports] must list-copy handle cycles? John Cowan (02 Jul 2012 21:52 UTC)

[Scheme-reports] must list-copy handle cycles? Per Bothner 02 Jul 2012 20:28 UTC

The text for list-copy seems to suggest that it must handle
cyclic lists, but it doesn't explicitly say so.

The Common Lisp Hyperspec says of copy-list:
   The consequences are undefined if list is a circular list.

If list-copy must handle cycles, what's a good algorithm?
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports