Extends the function make-sequence to allow it to take any type specifier.
common-lisp
make-sequence result-type size &key initial-element => sequence
| result-type⇩ |
A type specifier. |
| size⇩ |
A non-negative integer. |
| initial-element⇩ |
An object. |
| sequence⇩ |
A sequence. |
The function make-sequence has been extended to make a sequence of any Common Lisp type. sequence will be of type result-type unless this is not possible, in which case a type-error is signaled.
size and initial-element are used as specified by ANSI Common Lisp.
make-sequence in the Common Lisp HyperSpec
concatenate
map
merge
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:15