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

NextPrevUpTopContentsIndex

coerce

Function
Summary

Extends the standard coerce function, allowing it to take any Common Lisp type specifier.

Package

common-lisp

Signature

coerce object result-type => result

Arguments

object

A Lisp object.

result-type

A type specifier.

Values

result

An object of type result-type

Description

The function coerce performs those conversions required by the ANSI Common Lisp standard, but a larger set of type specifiers is allowed for coercion.

A type-error is signaled if result cannot be returned as the result-type specifies.

See also

concatenate


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex