2.3 Types and classes

ECL defines the following additional built-in classes in the cl package:

2.3.1 C Reference

2.3.1.1 ANSI Dictionary

Common Lisp and C equivalence

Synopsis

Lisp symbolC function
coercecl_object cl_coerce(cl_object object, cl_object result_type)
subtypepcl_object cl_subtypep(cl_narg narg, cl_object type1, cl_object type2, ...)
type-ofcl_object cl_type_of(cl_object object)
typepcl_object cl_typep(cl_narg narg, cl_object object, cl_object type_specifier, ...)
type-error-datum[Only in Common Lisp]
type-error-expected-type[Only in Common Lisp]