[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] must list-copy handle cycles?
- To: scheme-reports <scheme-reports@x>
- Subject: [Scheme-reports] must list-copy handle cycles?
- From: Per Bothner <per@x>
- Date: Mon, 02 Jul 2012 13:28:53 -0700
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?
Scheme-reports mailing list