Package: alexandria

Function copy-sequence

Lambda List

copy-sequence (type sequence)

Details

Returns a fresh sequence of type, which has the same elements as sequence.

Examples

 (copy-sequence 'list "abc") => (#a #b #c)
 (copy-sequence 'string '(#a #b #c)) => "abc"