[CM] s7: How does the function 'copy' work?
Kjetil Matheussen
k.s.matheussen at gmail.com
Wed Jan 18 02:01:06 PST 2017
Hi,
I need a 'sort' function, and wonder if I can implement it like this?
(define (sort sequence less?)
(sort! (copy sequence) less?))
I couldn't find documentation about the 'copy' function in the manual,
but maybe it can be used as a copy-list function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20170118/458bb800/attachment.html>
More information about the Cmdist
mailing list