Creates a freshly allocated sequence containing the elements of source between start and end.
define constant hamlet = #("to", "be", "or", "not", "to", "be")
hamlet == copy-sequence (hamlet)
⇒ #f
copy-sequence (hamlet, start: 2, end: 4)
⇒ #("or", "not")open
| source | An instance of <sequence>. |
| start: | An instance of <integer>. The default is 0. |
| end: | An instance of <integer>. The default is the size of source. |
| val | A freshly allocated instance of <sequence>. |
Creates a freshly allocated sequence containing the elements of source between start and end. | |
When applied to a <range>, copy-sequence returns another range, even though the type-for-copy of a range is the <list> class. |
When applied to a <range>, copy-sequence returns another range, even though the type-for-copy of a range is the <list> class.