All Manuals > LispWorks User Guide and Reference Manual > 33 The COMMON-LISP Package

NextPrevUpTopContentsIndex

make-sequence

Function
Summary

Extends the standard make-sequence function allowing it to take any type specifier.

Package

common-lisp

Signature

make-sequence result-type size &key initial-element => sequence

Arguments

result-type

A type specifier.

size

A non-negative integer.

initial-element

An object.

Values

sequence

A sequence.

Description

The function make-sequence has been extended to take any Common Lisp type. The sequence will be of type result-type unless this is not possible, in which case a type-error is signaled.

See also

concatenate
map
merge


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex