[r6rs-discuss] Deep copy
John Tobey
john.tobey at gmail.com
Wed Jul 11 15:07:45 EDT 2007
Just curious whether thought was given to a "deep copy" function in the
library. Apologies if I missed it. You know the kind...
(define (deep-copy o)
(cond
((vector? o) (apply vector (map deep-copy (vector->list o)))))
;; etc.
Best regards,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r6rs.org/pipermail/r6rs-discuss/attachments/20070711/0e3b8775/attachment.htm
More information about the r6rs-discuss
mailing list