Next Previous Up Top Contents Index

4 The COMMON-LISP Package

coerce

Function

Summary

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

Thecoerce function still performs those conversions required by the standard, but a larger set of type specifiers is allowed for coercion. Atype-error is signalled if result cannot be returned as the result-type specifies.
See also

concatenate

LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker