[plt-scheme] should `map' reuse cons cells?

From: Doug Orleans (dougo at place.org)
Date: Wed May 26 17:54:56 EDT 2004

ifconfig nslookup writes:
 > Also, (map identity l) is an easy way to replicate a list, when you need it.

I think this relies on unspecified behavior of `map'.  It's safer to use
SRFI-1's `list-copy'.

--dougo at place.org


Posted on the users mailing list.