User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:types:built-in-class [2017/05/01 21:00] (current)
Line 1: Line 1:
 +====== System Class BUILT-IN-CLASS ======
 +
 +====Class Precedence List==== ​
 +**built-in-class**,​ **[[CL:​Types:​class]]**,​ **[[CL:​Types:​standard-object]]**,​ **[[CL:​Types:​t]]**
 +
 +====Description====
 +A //​[[CL:​Glossary:​built-in class]]// is a //​[[CL:​Glossary:​class]]//​ whose //​[[CL:​Glossary:​instances]]//​ have restricted capabilities or special representations.
 +
 +Attempting to use **[[CL:​Macros:​defclass]]** to define //​[[CL:​Glossary:​subclasses]]//​ of a //​[[CL:​Glossary:​built-in class]]// signals an error of type **[[CL:​Types:​error]]**. Calling **[[CL:​Functions:​make-instance]]** to create an //​[[CL:​Glossary:​instance]]//​ of a //​[[CL:​Glossary:​built-in class]]// signals an error of type **[[CL:​Types:​error]]**. Calling **[[CL:​Functions:​slot-value]]** on an //​[[CL:​Glossary:​instance]]//​ of a //​[[CL:​Glossary:​built-in class]]// signals an error of type **[[CL:​Types:​error]]**. Redefining a //​[[CL:​Glossary:​built-in class]]// or using **[[CL:​Functions:​change-class]]** to change the //​[[CL:​Glossary:​class]]//​ of an //​[[CL:​Glossary:​instance]]//​ to or from a //​[[CL:​Glossary:​built-in class]]// signals an error of type **[[CL:​Types:​error]]**. However, //​[[CL:​Glossary:​built-in classes]]// can be used as //​[[CL:​Glossary:​parameter specializers]]//​ in //​[[CL:​Glossary:​methods]]//​.
 +
 +\issue{TYPE-OF-AND-PREDEFINED-CLASSES:​UNIFY-AND-EXTEND}