Simplified Common Lisp reference
coerce
Symbol class: Symbol, Characters, Hash, Structure, Objects and Conversions
Syntax:
Symbol type: function
coerceobjectresult-type => an object
Argument description:
object an object
result-type a type specifier

COERCE function converts between different types. See full documentation for conversion description.

(coerce '(a b c) 'vector) => #(A B C)
(coerce #(a b c) 'list) => (A B C)
(coerce 4.4d0 'single-float) => 4.4
(coerce 4.4s0 'double-float) => 4.400000095367432d0
(coerce "x" 'character) => #\x
Function indexFull documentation for coerce (HyperSpec)