Next Prev Up Top Contents Index

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 make-sequence function 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 signalled.

See also

concatenate
map
merge


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index