base-char derives (derives? the straight solid black line is not represented in the legend) from character, which is a built-in class (according to legend).
So is character a class too? does base-char encapsulate a character or something like it?
Before anyone comment, please keep in mind that this comment doesn't want to start a flame or be critical in any way.
Types in Common Lisp may or may not be represented by classes (all classes are types, not all types are classes). In this case, character is indeed a class, while base-char is not.
It's definitely true to say that base-char is a subtype of character, in that some characters are also base-chars, while others are not. (The spec defines that there are at least 96 standard characters, all of which are of type standard-char, and thus also of type base-char. Implementations may add others. Interestingly, the spec doesn't define how those characters are encoded; of course most modern implementations use some variant of Unicode.)
Indeed.
Take for example base-char, which is a type.
base-char derives (derives? the straight solid black line is not represented in the legend) from character, which is a built-in class (according to legend).
So is character a class too? does base-char encapsulate a character or something like it?
Before anyone comment, please keep in mind that this comment doesn't want to start a flame or be critical in any way.