Extends the function coerce
, allowing it to take any Common Lisp type specifier.
common-lisp
coerce object result-type => result
object⇩ |
A Lisp object. |
result-type⇩ |
A type specifier. |
result⇩ |
An object of type result-type. |
The function coerce
performs those conversions on object 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 result-type specifies.
coerce in the Common Lisp HyperSpec
concatenate
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30