Next Previous Up Top Contents Index

4 The COMMON-LISP Package

make-sequence

Function

Summary

Redefines the standardmake-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

Themake-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 atype-error is signalled.
See also

concatenate
map
merge

LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker